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)
Expand description
An anchor
AnchorLink(RichTextAnchorLink)
Expand description
A link to an anchor on the same web page
Bold(RichTextBold)
Expand description
A bold rich text
EmailAddress(RichTextEmailAddress)
Expand description
A rich text email link
Fixed(RichTextFixed)
Expand description
A fixed-width rich text
Icon(RichTextIcon)
Expand description
A small image inside the text
Italic(RichTextItalic)
Expand description
An italicized rich text
Marked(RichTextMarked)
Expand description
A marked rich text
PhoneNumber(RichTextPhoneNumber)
Expand description
A rich text phone number
Plain(RichTextPlain)
Expand description
A plain text
Reference(RichTextReference)
Expand description
A reference to a richTexts object on the same web page
Strikethrough(RichTextStrikethrough)
Expand description
A strikethrough rich text
Subscript(RichTextSubscript)
Expand description
A subscript rich text
Superscript(RichTextSuperscript)
Expand description
A superscript rich text
Underline(RichTextUnderline)
Expand description
An underlined rich text
Url(RichTextUrl)
Expand description
A rich text URL link
RichTexts(RichTexts)
Expand description
A concatenation of rich texts
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for RichText
[src]
impl<'de> Deserialize<'de> for RichText
[src]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 Send for RichText
impl Sync for RichText
impl Unpin for RichText
impl UnwindSafe for RichText
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,