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
MarkdownHtml
Trait Implementations
impl Debug for ParseMode[src]
impl Debug for ParseModefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ParseMode[src]
impl PartialEq for ParseModefn eq(&self, other: &ParseMode) -> bool[src]
fn eq(&self, other: &ParseMode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Clone for ParseMode[src]
impl Clone for ParseModefn clone(&self) -> ParseMode[src]
fn clone(&self) -> ParseModeReturns 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 ParseModeimpl Display for ParseMode[src]
impl Display for ParseMode