Enum clacks_mtproto::mtproto::BotCommand
[−]
[src]
pub enum BotCommand { BotCommand(BotCommand), }
TL-derived from BotCommand
botCommand#c27ac8c7 command:string description:string = BotCommand;
Variants
BotCommand(BotCommand)
Methods
impl BotCommand
[src]
Trait Implementations
impl Debug for BotCommand
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for BotCommand
[src]
fn clone(&self) -> BotCommand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BoxedSerialize for BotCommand
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
fn boxed_serialized_bytes(&self) -> Result<Vec<u8>>
[src]
impl BoxedDeserialize for BotCommand
[src]
fn possible_constructors() -> Vec<ConstructorNumber>
[src]
fn deserialize_boxed(
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>
[src]
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>