pub struct RebindV1Request {
pub campaign: Option<String>,
pub tenant: Option<String>,
pub domain: Option<String>,
pub routing_domain: Option<String>,
pub reason: String,
pub suppress_logging: bool,
pub data: HashMap<String, String>,
pub trigger_rebind_event: bool,
pub always_flush: bool,
}
Expand description
Describes which messages should be rebound. The criteria apply to the scheduled queue associated with a given message.
Fields§
§campaign: Option<String>
The campaign name to match. If omitted, any campaign will match.
tenant: Option<String>
The tenant to match. If omitted, any tenant will match.
domain: Option<String>
The domain name to match. If omitted, any domain will match.
routing_domain: Option<String>
The routing_domain name to match. If omitted, any routing_domain will match.
reason: String
Reason to log in the delivery log. Each matching message will log with an AdminRebind record unless you suppress logging.
suppress_logging: bool
If true, do not generate AdminRebind delivery logs for matching messages.
data: HashMap<String, String>
The data, a json object with string keys AND values to pass to the rebind operation
trigger_rebind_event: bool
If true, a rebind
event will be triggered and passed each
message and the supplied data.
If false, no event will be triggered and each field in data
will be applied to the msg metadata, overwriting any previous
value for that key.
always_flush: bool
If true, make all matched messages immediately eligible for delivery. When false, (the default), only messages whose queue has changed will be made immediately eligible.
Trait Implementations§
source§impl Debug for RebindV1Request
impl Debug for RebindV1Request
source§impl<'de> Deserialize<'de> for RebindV1Request
impl<'de> Deserialize<'de> for RebindV1Request
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for RebindV1Request
impl Serialize for RebindV1Request
Auto Trait Implementations§
impl Freeze for RebindV1Request
impl RefUnwindSafe for RebindV1Request
impl Send for RebindV1Request
impl Sync for RebindV1Request
impl Unpin for RebindV1Request
impl UnwindSafe for RebindV1Request
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more