Enum rtdlib::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
The text should be parsed in HTML-style
Tuple Fields of HTML
The text should be parsed in markdown-style
Tuple Fields of Markdown
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