#[non_exhaustive]pub enum MessageMetricsJsonResourceType {
Call,
Message,
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.
Call
call
Message
message
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MessageMetricsJsonResourceType
impl<'de> Deserialize<'de> for MessageMetricsJsonResourceType
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
impl Eq for MessageMetricsJsonResourceType
impl StructuralPartialEq for MessageMetricsJsonResourceType
Auto Trait Implementations§
impl Freeze for MessageMetricsJsonResourceType
impl RefUnwindSafe for MessageMetricsJsonResourceType
impl Send for MessageMetricsJsonResourceType
impl Sync for MessageMetricsJsonResourceType
impl Unpin for MessageMetricsJsonResourceType
impl UnsafeUnpin for MessageMetricsJsonResourceType
impl UnwindSafe for MessageMetricsJsonResourceType
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