pub enum TextEntityType {
Show 14 variants
TextEntityTypeMention(TextEntityTypeMention),
TextEntityTypeHashtag(TextEntityTypeHashtag),
TextEntityTypeCashtag(TextEntityTypeCashtag),
TextEntityTypeBotCommand(TextEntityTypeBotCommand),
TextEntityTypeUrl(TextEntityTypeUrl),
TextEntityTypeEmailAddress(TextEntityTypeEmailAddress),
TextEntityTypeBold(TextEntityTypeBold),
TextEntityTypeItalic(TextEntityTypeItalic),
TextEntityTypeCode(TextEntityTypeCode),
TextEntityTypePre(TextEntityTypePre),
TextEntityTypePreCode(TextEntityTypePreCode),
TextEntityTypeTextUrl(TextEntityTypeTextUrl),
TextEntityTypeMentionName(TextEntityTypeMentionName),
TextEntityTypePhoneNumber(TextEntityTypePhoneNumber),
}
Expand description
Variants§
TextEntityTypeMention(TextEntityTypeMention)
TextEntityTypeHashtag(TextEntityTypeHashtag)
TextEntityTypeCashtag(TextEntityTypeCashtag)
TextEntityTypeBotCommand(TextEntityTypeBotCommand)
TextEntityTypeUrl(TextEntityTypeUrl)
TextEntityTypeEmailAddress(TextEntityTypeEmailAddress)
TextEntityTypeBold(TextEntityTypeBold)
TextEntityTypeItalic(TextEntityTypeItalic)
TextEntityTypeCode(TextEntityTypeCode)
TextEntityTypePre(TextEntityTypePre)
TextEntityTypePreCode(TextEntityTypePreCode)
TextEntityTypeTextUrl(TextEntityTypeTextUrl)
TextEntityTypeMentionName(TextEntityTypeMentionName)
TextEntityTypePhoneNumber(TextEntityTypePhoneNumber)
Trait Implementations§
Source§impl Clone for TextEntityType
impl Clone for TextEntityType
Source§fn clone(&self) -> TextEntityType
fn clone(&self) -> TextEntityType
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 TextEntityType
impl Debug for TextEntityType
Source§impl<'de> Deserialize<'de> for TextEntityType
impl<'de> Deserialize<'de> for TextEntityType
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
Auto Trait Implementations§
impl Freeze for TextEntityType
impl RefUnwindSafe for TextEntityType
impl Send for TextEntityType
impl Sync for TextEntityType
impl Unpin for TextEntityType
impl UnwindSafe for TextEntityType
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