pub enum MentionRole {
Subject,
Object,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MentionRole
impl Clone for MentionRole
Source§fn clone(&self) -> MentionRole
fn clone(&self) -> MentionRole
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 moreimpl Copy for MentionRole
Source§impl Debug for MentionRole
impl Debug for MentionRole
Source§impl<'de> Deserialize<'de> for MentionRole
impl<'de> Deserialize<'de> for MentionRole
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 MentionRole
Source§impl PartialEq for MentionRole
impl PartialEq for MentionRole
Source§impl Serialize for MentionRole
impl Serialize for MentionRole
impl StructuralPartialEq for MentionRole
Auto Trait Implementations§
impl Freeze for MentionRole
impl RefUnwindSafe for MentionRole
impl Send for MentionRole
impl Sync for MentionRole
impl Unpin for MentionRole
impl UnsafeUnpin for MentionRole
impl UnwindSafe for MentionRole
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