#[non_exhaustive]pub enum MessageMetricsPlatform {
Email,
Imessage,
Sms,
Telegram,
Voice,
Whatsapp,
WhatsappBusiness,
Unknown(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.
email
Imessage
imessage
Sms
sms
Telegram
telegram
Voice
voice
whatsapp
WhatsappBusiness
whatsapp_business
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for MessageMetricsPlatform
impl Clone for MessageMetricsPlatform
Source§impl Debug for MessageMetricsPlatform
impl Debug for MessageMetricsPlatform
Source§impl<'de> Deserialize<'de> for MessageMetricsPlatform
impl<'de> Deserialize<'de> for MessageMetricsPlatform
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 MessageMetricsPlatform
impl Display for MessageMetricsPlatform
impl Eq for MessageMetricsPlatform
Source§impl PartialEq for MessageMetricsPlatform
impl PartialEq for MessageMetricsPlatform
Source§impl Serialize for MessageMetricsPlatform
impl Serialize for MessageMetricsPlatform
impl StructuralPartialEq for MessageMetricsPlatform
Auto Trait Implementations§
impl Freeze for MessageMetricsPlatform
impl RefUnwindSafe for MessageMetricsPlatform
impl Send for MessageMetricsPlatform
impl Sync for MessageMetricsPlatform
impl Unpin for MessageMetricsPlatform
impl UnsafeUnpin for MessageMetricsPlatform
impl UnwindSafe for MessageMetricsPlatform
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