pub struct DeliveryHistoryEntry { /* private fields */ }Expand description
One state a delivery passed through, and when.
Implementations§
Source§impl DeliveryHistoryEntry
impl DeliveryHistoryEntry
pub const fn new(state_kind: HostDeliveryStateKind, at: OffsetDateTime) -> Self
pub const fn state_kind(self) -> HostDeliveryStateKind
pub const fn at(self) -> OffsetDateTime
Trait Implementations§
Source§impl Clone for DeliveryHistoryEntry
impl Clone for DeliveryHistoryEntry
impl Copy for DeliveryHistoryEntry
Source§impl Debug for DeliveryHistoryEntry
impl Debug for DeliveryHistoryEntry
Source§impl<'de> Deserialize<'de> for DeliveryHistoryEntry
impl<'de> Deserialize<'de> for DeliveryHistoryEntry
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 DeliveryHistoryEntry
Source§impl PartialEq for DeliveryHistoryEntry
impl PartialEq for DeliveryHistoryEntry
Source§impl Serialize for DeliveryHistoryEntry
impl Serialize for DeliveryHistoryEntry
impl StructuralPartialEq for DeliveryHistoryEntry
Auto Trait Implementations§
impl Freeze for DeliveryHistoryEntry
impl RefUnwindSafe for DeliveryHistoryEntry
impl Send for DeliveryHistoryEntry
impl Sync for DeliveryHistoryEntry
impl Unpin for DeliveryHistoryEntry
impl UnsafeUnpin for DeliveryHistoryEntry
impl UnwindSafe for DeliveryHistoryEntry
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