#[non_exhaustive]pub enum MessageMetricsDirection {
Addressed,
Received,
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.
Addressed
addressed
Received
received
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for MessageMetricsDirection
impl Clone for MessageMetricsDirection
Source§impl Debug for MessageMetricsDirection
impl Debug for MessageMetricsDirection
Source§impl<'de> Deserialize<'de> for MessageMetricsDirection
impl<'de> Deserialize<'de> for MessageMetricsDirection
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 MessageMetricsDirection
impl Display for MessageMetricsDirection
impl Eq for MessageMetricsDirection
Source§impl PartialEq for MessageMetricsDirection
impl PartialEq for MessageMetricsDirection
Source§impl Serialize for MessageMetricsDirection
impl Serialize for MessageMetricsDirection
impl StructuralPartialEq for MessageMetricsDirection
Auto Trait Implementations§
impl Freeze for MessageMetricsDirection
impl RefUnwindSafe for MessageMetricsDirection
impl Send for MessageMetricsDirection
impl Sync for MessageMetricsDirection
impl Unpin for MessageMetricsDirection
impl UnsafeUnpin for MessageMetricsDirection
impl UnwindSafe for MessageMetricsDirection
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