#[non_exhaustive]pub enum MessageObjectType {
Known(MessageObjectTypeKnown),
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.
Known(MessageObjectTypeKnown)
Unknown(String)
Trait Implementations§
Source§impl Clone for MessageObjectType
impl Clone for MessageObjectType
Source§fn clone(&self) -> MessageObjectType
fn clone(&self) -> MessageObjectType
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 moreSource§impl Debug for MessageObjectType
impl Debug for MessageObjectType
Source§impl<'de> Deserialize<'de> for MessageObjectType
impl<'de> Deserialize<'de> for MessageObjectType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MessageObjectType
Source§impl PartialEq for MessageObjectType
impl PartialEq for MessageObjectType
Source§impl Serialize for MessageObjectType
impl Serialize for MessageObjectType
impl StructuralPartialEq for MessageObjectType
Auto Trait Implementations§
impl Freeze for MessageObjectType
impl RefUnwindSafe for MessageObjectType
impl Send for MessageObjectType
impl Sync for MessageObjectType
impl Unpin for MessageObjectType
impl UnsafeUnpin for MessageObjectType
impl UnwindSafe for MessageObjectType
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