Enum tdlib::enums::TextParseMode
source · pub enum TextParseMode {
Markdown(TextParseModeMarkdown),
Html,
}
Variants§
Markdown(TextParseModeMarkdown)
The text uses Markdown-style formatting
Html
The text uses HTML-style formatting. The same as Telegram Bot API “HTML” parse mode
Trait Implementations§
source§impl Clone for TextParseMode
impl Clone for TextParseMode
source§fn clone(&self) -> TextParseMode
fn clone(&self) -> TextParseMode
Returns a copy 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 TextParseMode
impl Debug for TextParseMode
source§impl<'de> Deserialize<'de> for TextParseMode
impl<'de> Deserialize<'de> for TextParseMode
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