Struct telexide_fork::model::TextMention
source · pub struct TextMention {
pub text_block: TextBlock,
pub user: User,
}Expand description
For users without usernames
Fields§
§text_block: TextBlockThe part of the text that is the mention
user: UserThe mentioned user
Trait Implementations§
source§impl Clone for TextMention
impl Clone for TextMention
source§fn clone(&self) -> TextMention
fn clone(&self) -> TextMention
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 TextMention
impl Debug for TextMention
source§impl<'de> Deserialize<'de> for TextMention
impl<'de> Deserialize<'de> for TextMention
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 PartialEq<TextMention> for TextMention
impl PartialEq<TextMention> for TextMention
source§fn eq(&self, other: &TextMention) -> bool
fn eq(&self, other: &TextMention) -> bool
This method tests for
self and other values to be equal, and is used
by ==.