pub struct DeliveryState {
pub attempt: u32,
pub max_attempt: u32,
pub first_received: DateTime<Utc>,
pub last_received: DateTime<Utc>,
pub redelivered: bool,
}Fields§
§attempt: u32§max_attempt: u32§first_received: DateTime<Utc>§last_received: DateTime<Utc>§redelivered: boolTrait Implementations§
Source§impl Clone for DeliveryState
impl Clone for DeliveryState
Source§fn clone(&self) -> DeliveryState
fn clone(&self) -> DeliveryState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeliveryState
impl Debug for DeliveryState
Source§impl<'de> Deserialize<'de> for DeliveryState
impl<'de> Deserialize<'de> for DeliveryState
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
impl Eq for DeliveryState
Source§impl PartialEq for DeliveryState
impl PartialEq for DeliveryState
Source§fn eq(&self, other: &DeliveryState) -> bool
fn eq(&self, other: &DeliveryState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeliveryState
impl Serialize for DeliveryState
impl StructuralPartialEq for DeliveryState
Auto Trait Implementations§
impl Freeze for DeliveryState
impl RefUnwindSafe for DeliveryState
impl Send for DeliveryState
impl Sync for DeliveryState
impl Unpin for DeliveryState
impl UnsafeUnpin for DeliveryState
impl UnwindSafe for DeliveryState
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