pub struct TextEntityTypeMention { /* private fields */ }
Expand description
A mention of a user by their username
Implementations§
Trait Implementations§
Source§impl AsRef<TextEntityTypeMention> for TextEntityTypeMention
impl AsRef<TextEntityTypeMention> for TextEntityTypeMention
Source§fn as_ref(&self) -> &TextEntityTypeMention
fn as_ref(&self) -> &TextEntityTypeMention
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for TextEntityTypeMention
impl Clone for TextEntityTypeMention
Source§fn clone(&self) -> TextEntityTypeMention
fn clone(&self) -> TextEntityTypeMention
Returns a copy 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 TextEntityTypeMention
impl Debug for TextEntityTypeMention
Source§impl Default for TextEntityTypeMention
impl Default for TextEntityTypeMention
Source§fn default() -> TextEntityTypeMention
fn default() -> TextEntityTypeMention
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextEntityTypeMention
impl<'de> Deserialize<'de> for TextEntityTypeMention
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 Serialize for TextEntityTypeMention
impl Serialize for TextEntityTypeMention
impl TDTextEntityType for TextEntityTypeMention
Auto Trait Implementations§
impl Freeze for TextEntityTypeMention
impl RefUnwindSafe for TextEntityTypeMention
impl Send for TextEntityTypeMention
impl Sync for TextEntityTypeMention
impl Unpin for TextEntityTypeMention
impl UnwindSafe for TextEntityTypeMention
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