pub struct DeliveryAttempt(/* private fields */);Expand description
Delivery attempt count.
Implementations§
Source§impl DeliveryAttempt
impl DeliveryAttempt
Sourcepub const fn new(value: u32) -> Result<Self, ApiPrimitiveError>
pub const fn new(value: u32) -> Result<Self, ApiPrimitiveError>
Creates a one-based delivery attempt count.
Trait Implementations§
Source§impl Clone for DeliveryAttempt
impl Clone for DeliveryAttempt
Source§fn clone(&self) -> DeliveryAttempt
fn clone(&self) -> DeliveryAttempt
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 DeliveryAttempt
impl Debug for DeliveryAttempt
Source§impl Hash for DeliveryAttempt
impl Hash for DeliveryAttempt
Source§impl Ord for DeliveryAttempt
impl Ord for DeliveryAttempt
Source§fn cmp(&self, other: &DeliveryAttempt) -> Ordering
fn cmp(&self, other: &DeliveryAttempt) -> Ordering
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
Source§impl PartialEq for DeliveryAttempt
impl PartialEq for DeliveryAttempt
Source§fn eq(&self, other: &DeliveryAttempt) -> bool
fn eq(&self, other: &DeliveryAttempt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DeliveryAttempt
impl PartialOrd for DeliveryAttempt
impl Copy for DeliveryAttempt
impl Eq for DeliveryAttempt
impl StructuralPartialEq for DeliveryAttempt
Auto Trait Implementations§
impl Freeze for DeliveryAttempt
impl RefUnwindSafe for DeliveryAttempt
impl Send for DeliveryAttempt
impl Sync for DeliveryAttempt
impl Unpin for DeliveryAttempt
impl UnsafeUnpin for DeliveryAttempt
impl UnwindSafe for DeliveryAttempt
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