pub struct BounceV1ListEntry {
pub id: Uuid,
pub campaign: Option<String>,
pub tenant: Option<String>,
pub domain: Option<String>,
pub routing_domain: Option<String>,
pub reason: String,
pub duration: Duration,
pub bounced: HashMap<String, usize>,
pub total_bounced: usize,
}Fields§
§id: UuidThe id of this bounce rule. Corresponds to the id field
returned by the originating request that set up the bounce,
and can be used to identify this particular entry if you
wish to delete it later.
campaign: Option<String>The campaign field of the original request, if any.
tenant: Option<String>The tenant field of the original request, if any.
domain: Option<String>The domain field of the original request, if any.
routing_domain: Option<String>The routing_domain field of the original request, if any.
reason: StringThe reason field of the original request
duration: DurationThe time remaining until this entry expires and is automatically removed.
bounced: HashMap<String, usize>A map of queue name to number of bounced messages that were processed by this entry since it was created.
total_bounced: usizeThe sum of the number of bounced messages reported by
the bounced field.
Trait Implementations§
Source§impl ComposeSchema for BounceV1ListEntry
impl ComposeSchema for BounceV1ListEntry
Source§impl Debug for BounceV1ListEntry
impl Debug for BounceV1ListEntry
Source§impl<'de> Deserialize<'de> for BounceV1ListEntry
impl<'de> Deserialize<'de> for BounceV1ListEntry
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BounceV1ListEntry
impl Serialize for BounceV1ListEntry
Auto Trait Implementations§
impl Freeze for BounceV1ListEntry
impl RefUnwindSafe for BounceV1ListEntry
impl Send for BounceV1ListEntry
impl Sync for BounceV1ListEntry
impl Unpin for BounceV1ListEntry
impl UnwindSafe for BounceV1ListEntry
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
Mutably borrows from an owned value. Read more
§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>
Converts
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>
Converts
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