Enum telegram_bot::types::ChatAction [−][src]
pub enum ChatAction { Typing, UploadPhoto, RecordVideo, UploadVideo, RecordAudio, UploadAudio, UploadDocument, FindLocation, }
Strongly typed ChatAction. Instead of passing a String to the
send_chat_action
method, this is used.
Variants
Typing
UploadPhoto
RecordVideo
UploadVideo
RecordAudio
UploadAudio
UploadDocument
FindLocation
Trait Implementations
impl Debug for ChatAction
[src]
impl Debug for ChatAction
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 ChatAction
[src]
impl PartialEq for ChatAction
fn eq(&self, other: &ChatAction) -> bool
[src]
fn eq(&self, other: &ChatAction) -> 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 ChatAction
[src]
impl Clone for ChatAction
fn clone(&self) -> ChatAction
[src]
fn clone(&self) -> ChatAction
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 ChatAction
[src]
impl Copy for ChatAction
impl Decodable for ChatAction
[src]
impl Decodable for ChatAction
impl Into<&'static str> for ChatAction
[src]
impl Into<&'static str> for ChatAction
impl ToString for ChatAction
[src]
impl ToString for ChatAction
impl Encodable for ChatAction
[src]
impl Encodable for ChatAction
Auto Trait Implementations
impl Send for ChatAction
impl Send for ChatAction
impl Sync for ChatAction
impl Sync for ChatAction