Enum rtdlib::types::TextParseMode
source[−]pub enum TextParseMode {
HTML(TextParseModeHTML),
Markdown(TextParseModeMarkdown),
// some variants omitted
}
Expand description
Describes the way the text needs to be parsed for TextEntities
Variants
HTML(TextParseModeHTML)
Tuple Fields
The text uses HTML-style formatting. The same as Telegram Bot API “HTML” parse mode
Markdown(TextParseModeMarkdown)
Tuple Fields
The text uses Markdown-style formatting
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<TextParseMode, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TextParseMode, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TextParseMode
impl Send for TextParseMode
impl Sync for TextParseMode
impl Unpin for TextParseMode
impl UnwindSafe for TextParseMode
Blanket Implementations
Mutably borrows from an owned value. Read more