pub struct HostDeliveryTargetKey(/* private fields */);Expand description
The stable spelling of a delivery destination.
Its own type because it is an index key as much as a label: the ledger scans by it, and a destination whose key changed between two enqueues would hand the same host the same item twice.
Implementations§
Trait Implementations§
Source§impl Clone for HostDeliveryTargetKey
impl Clone for HostDeliveryTargetKey
Source§impl Debug for HostDeliveryTargetKey
impl Debug for HostDeliveryTargetKey
Source§impl<'de> Deserialize<'de> for HostDeliveryTargetKey
impl<'de> Deserialize<'de> for HostDeliveryTargetKey
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 Display for HostDeliveryTargetKey
impl Display for HostDeliveryTargetKey
impl Eq for HostDeliveryTargetKey
Source§impl Hash for HostDeliveryTargetKey
impl Hash for HostDeliveryTargetKey
Source§impl Ord for HostDeliveryTargetKey
impl Ord for HostDeliveryTargetKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HostDeliveryTargetKey
impl PartialEq for HostDeliveryTargetKey
Source§impl PartialOrd for HostDeliveryTargetKey
impl PartialOrd for HostDeliveryTargetKey
Source§impl Serialize for HostDeliveryTargetKey
impl Serialize for HostDeliveryTargetKey
impl StructuralPartialEq for HostDeliveryTargetKey
Auto Trait Implementations§
impl Freeze for HostDeliveryTargetKey
impl RefUnwindSafe for HostDeliveryTargetKey
impl Send for HostDeliveryTargetKey
impl Sync for HostDeliveryTargetKey
impl Unpin for HostDeliveryTargetKey
impl UnsafeUnpin for HostDeliveryTargetKey
impl UnwindSafe for HostDeliveryTargetKey
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