Enum rust_tdlib::types::TextParseMode  [−][src]
pub enum TextParseMode {
    HTML(TextParseModeHTML),
    Markdown(TextParseModeMarkdown),
    // some variants omitted
}Expand description
Describes the way the text should be parsed for TextEntities
Variants
HTML(TextParseModeHTML)The text uses HTML-style formatting. The same as Telegram Bot API “HTML” parse mode
Markdown(TextParseModeMarkdown)The text uses Markdown-style formatting
Implementations
Trait Implementations
Performs the conversion.
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 TextParseModeimpl Send for TextParseModeimpl Sync for TextParseModeimpl Unpin for TextParseModeimpl UnwindSafe for TextParseModeBlanket Implementations
Mutably borrows from an owned value. Read more