Enum telegram_bot::types::ParseMode [−][src]
pub enum ParseMode { Markdown, Html, }
Strongly typed ParseMode. Instead of passing a String to the
send_message
method, this is used.
Variants
Markdown
Html
Trait Implementations
impl Debug for ParseMode
[src]
impl Debug for ParseMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ParseMode
[src]
impl PartialEq for ParseMode
fn eq(&self, other: &ParseMode) -> bool
[src]
fn eq(&self, other: &ParseMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for ParseMode
[src]
impl Clone for ParseMode
fn clone(&self) -> ParseMode
[src]
fn clone(&self) -> ParseMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ParseMode
[src]
impl Copy for ParseMode
impl Display for ParseMode
[src]
impl Display for ParseMode