pub struct MentionType;Expand description
A Unit Struct that represents the string “Mention”
Trait Implementations§
Source§impl Clone for MentionType
impl Clone for MentionType
Source§fn clone(&self) -> MentionType
fn clone(&self) -> MentionType
Returns a duplicate of the value. Read more
1.0.0 · 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 MentionType
impl Debug for MentionType
Source§impl Default for MentionType
impl Default for MentionType
Source§fn default() -> MentionType
fn default() -> MentionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MentionType
impl<'de> Deserialize<'de> for MentionType
Source§fn deserialize<D>(deserializer: D) -> Result<MentionType, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<MentionType, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MentionType
impl RefUnwindSafe for MentionType
impl Send for MentionType
impl Sync for MentionType
impl Unpin for MentionType
impl UnwindSafe for MentionType
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