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
TypingUploadPhotoRecordVideoUploadVideoRecordAudioUploadAudioUploadDocumentFindLocation
Trait Implementations
impl Debug for ChatAction[src]
impl Debug for ChatActionfn 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 ChatAction[src]
impl PartialEq for ChatActionfn eq(&self, other: &ChatAction) -> bool[src]
fn eq(&self, other: &ChatAction) -> 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 ChatAction[src]
impl Clone for ChatActionfn clone(&self) -> ChatAction[src]
fn clone(&self) -> ChatActionReturns 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 ChatActionimpl Decodable for ChatAction[src]
impl Decodable for ChatActionimpl Into<&'static str> for ChatAction[src]
impl Into<&'static str> for ChatActionimpl ToString for ChatAction[src]
impl ToString for ChatActionimpl Encodable for ChatAction[src]
impl Encodable for ChatActionAuto Trait Implementations
impl Send for ChatAction
impl Send for ChatActionimpl Sync for ChatAction
impl Sync for ChatAction