pub struct TextParseModeMarkdown {
pub version: i32,
}
Expand description
The text uses Markdown-style formatting
Fields§
§version: i32
Version of the parser: 0 or 1 - Telegram Bot API “Markdown” parse mode, 2 - Telegram Bot API “MarkdownV2” parse mode
Trait Implementations§
Source§impl Clone for TextParseModeMarkdown
impl Clone for TextParseModeMarkdown
Source§fn clone(&self) -> TextParseModeMarkdown
fn clone(&self) -> TextParseModeMarkdown
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 TextParseModeMarkdown
impl Debug for TextParseModeMarkdown
Source§impl Default for TextParseModeMarkdown
impl Default for TextParseModeMarkdown
Source§fn default() -> TextParseModeMarkdown
fn default() -> TextParseModeMarkdown
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextParseModeMarkdown
impl<'de> Deserialize<'de> for TextParseModeMarkdown
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 TextParseModeMarkdown
impl PartialEq for TextParseModeMarkdown
Source§impl Serialize for TextParseModeMarkdown
impl Serialize for TextParseModeMarkdown
impl StructuralPartialEq for TextParseModeMarkdown
Auto Trait Implementations§
impl Freeze for TextParseModeMarkdown
impl RefUnwindSafe for TextParseModeMarkdown
impl Send for TextParseModeMarkdown
impl Sync for TextParseModeMarkdown
impl Unpin for TextParseModeMarkdown
impl UnwindSafe for TextParseModeMarkdown
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