#[non_exhaustive]pub enum WhatsappRestrictionStatus {
Flagged,
Disabled,
Reinstated,
Unknown,
Unknown2(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Flagged
FLAGGED
Disabled
DISABLED
Reinstated
REINSTATED
Unknown
UNKNOWN
Unknown2(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for WhatsappRestrictionStatus
impl Clone for WhatsappRestrictionStatus
Source§impl Debug for WhatsappRestrictionStatus
impl Debug for WhatsappRestrictionStatus
Source§impl<'de> Deserialize<'de> for WhatsappRestrictionStatus
impl<'de> Deserialize<'de> for WhatsappRestrictionStatus
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 WhatsappRestrictionStatus
impl Display for WhatsappRestrictionStatus
impl Eq for WhatsappRestrictionStatus
impl StructuralPartialEq for WhatsappRestrictionStatus
Auto Trait Implementations§
impl Freeze for WhatsappRestrictionStatus
impl RefUnwindSafe for WhatsappRestrictionStatus
impl Send for WhatsappRestrictionStatus
impl Sync for WhatsappRestrictionStatus
impl Unpin for WhatsappRestrictionStatus
impl UnsafeUnpin for WhatsappRestrictionStatus
impl UnwindSafe for WhatsappRestrictionStatus
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