pub enum LetterStatus {
HeldByPerson,
InTransit,
HeldAtLocation,
Delivered,
}Variants§
Trait Implementations§
Source§impl Clone for LetterStatus
impl Clone for LetterStatus
Source§fn clone(&self) -> LetterStatus
fn clone(&self) -> LetterStatus
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 moreimpl Copy for LetterStatus
Source§impl Debug for LetterStatus
impl Debug for LetterStatus
Source§impl<'de> Deserialize<'de> for LetterStatus
impl<'de> Deserialize<'de> for LetterStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LetterStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LetterStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LetterStatus
Source§impl Ord for LetterStatus
impl Ord for LetterStatus
Source§fn cmp(&self, other: &LetterStatus) -> Ordering
fn cmp(&self, other: &LetterStatus) -> 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
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 LetterStatus
impl PartialEq for LetterStatus
Source§impl PartialOrd for LetterStatus
impl PartialOrd for LetterStatus
Source§impl Serialize for LetterStatus
impl Serialize for LetterStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LetterStatus
Auto Trait Implementations§
impl Freeze for LetterStatus
impl RefUnwindSafe for LetterStatus
impl Send for LetterStatus
impl Sync for LetterStatus
impl Unpin for LetterStatus
impl UnsafeUnpin for LetterStatus
impl UnwindSafe for LetterStatus
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