Enum tdlib::enums::BotCommands
source · pub enum BotCommands {
BotCommands(BotCommands),
}
Variants§
BotCommands(BotCommands)
Contains a list of bot commands
Trait Implementations§
source§impl Clone for BotCommands
impl Clone for BotCommands
source§fn clone(&self) -> BotCommands
fn clone(&self) -> BotCommands
Returns a copy 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 BotCommands
impl Debug for BotCommands
source§impl<'de> Deserialize<'de> for BotCommands
impl<'de> Deserialize<'de> for BotCommands
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<BotCommands> for BotCommands
impl PartialEq<BotCommands> for BotCommands
source§fn eq(&self, other: &BotCommands) -> bool
fn eq(&self, other: &BotCommands) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.