pub struct XferV1Request {
pub campaign: Option<String>,
pub tenant: Option<String>,
pub domain: Option<String>,
pub routing_domain: Option<String>,
pub reason: String,
pub queue_names: Vec<String>,
pub protocol: XferProtocol,
}
Expand description
Describes which messages should be transferred to another kumomta node. 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 to indicate that it was moved from its containing queue, and this reason will be included in that record.
queue_names: Vec<String>
If present, queue_names takes precedence over campaign
,
tenant
, and domain
and specifies the exact set of
scheduled queue names to which the xfer applies.
protocol: XferProtocol
Trait Implementations§
Source§impl ComposeSchema for XferV1Request
impl ComposeSchema for XferV1Request
Source§impl Debug for XferV1Request
impl Debug for XferV1Request
Source§impl<'de> Deserialize<'de> for XferV1Request
impl<'de> Deserialize<'de> for XferV1Request
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 XferV1Request
impl Serialize for XferV1Request
Auto Trait Implementations§
impl Freeze for XferV1Request
impl RefUnwindSafe for XferV1Request
impl Send for XferV1Request
impl Sync for XferV1Request
impl Unpin for XferV1Request
impl UnwindSafe for XferV1Request
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