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 duplicate 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
Source§impl PartialEq for TextParseMode
impl PartialEq for TextParseMode
Source§impl Serialize for TextParseMode
impl Serialize for TextParseMode
impl StructuralPartialEq for TextParseMode
Auto Trait Implementations§
impl Freeze for TextParseMode
impl RefUnwindSafe for TextParseMode
impl Send for TextParseMode
impl Sync for TextParseMode
impl Unpin for TextParseMode
impl UnwindSafe for TextParseMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more