Enum rust_tdlib::types::RichText [−][src]
pub enum RichText {}Show variants
Anchor(RichTextAnchor), AnchorLink(RichTextAnchorLink), Bold(RichTextBold), EmailAddress(RichTextEmailAddress), Fixed(RichTextFixed), Icon(RichTextIcon), Italic(RichTextItalic), Marked(RichTextMarked), PhoneNumber(RichTextPhoneNumber), Plain(RichTextPlain), Reference(RichTextReference), Strikethrough(RichTextStrikethrough), Subscript(RichTextSubscript), Superscript(RichTextSuperscript), Underline(RichTextUnderline), Url(RichTextUrl), RichTexts(RichTexts), // some variants omitted
Expand description
Describes a text object inside an instant-view web page
Variants
Anchor(RichTextAnchor)
An anchor
AnchorLink(RichTextAnchorLink)
A link to an anchor on the same web page
Bold(RichTextBold)
A bold rich text
EmailAddress(RichTextEmailAddress)
A rich text email link
Fixed(RichTextFixed)
A fixed-width rich text
Icon(RichTextIcon)
A small image inside the text
Italic(RichTextItalic)
An italicized rich text
Marked(RichTextMarked)
A marked rich text
PhoneNumber(RichTextPhoneNumber)
A rich text phone number
Plain(RichTextPlain)
A plain text
Reference(RichTextReference)
A reference to a richTexts object on the same web page
Strikethrough(RichTextStrikethrough)
A strikethrough rich text
Subscript(RichTextSubscript)
A subscript rich text
Superscript(RichTextSuperscript)
A superscript rich text
Underline(RichTextUnderline)
An underlined rich text
Url(RichTextUrl)
A rich text URL link
RichTexts(RichTexts)
A concatenation of rich texts
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RichText
impl UnwindSafe for RichText
Blanket Implementations
Mutably borrows from an owned value. Read more