pub struct BotCommand {
pub command: String,
pub description: String,
}Expand description
Generated from the following TL definition:
botCommand#c27ac8c7 command:string description:string = BotCommandFields§
§command: String§description: StringTrait Implementations§
Source§impl Clone for BotCommand
impl Clone for BotCommand
Source§fn clone(&self) -> BotCommand
fn clone(&self) -> BotCommand
Returns a duplicate 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 BotCommand
impl Debug for BotCommand
Source§impl Deserializable for BotCommand
impl Deserializable for BotCommand
Source§impl From<BotCommand> for BotCommand
impl From<BotCommand> for BotCommand
Source§fn from(x: BotCommand) -> Self
fn from(x: BotCommand) -> Self
Converts to this type from the input type.
Source§impl From<BotCommand> for BotCommand
impl From<BotCommand> for BotCommand
Source§fn from(x: BotCommand) -> Self
fn from(x: BotCommand) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotCommand
impl Identifiable for BotCommand
Source§const CONSTRUCTOR_ID: u32 = 3262826695
const CONSTRUCTOR_ID: u32 = 3262826695
The unique identifier for the type.
Source§impl PartialEq for BotCommand
impl PartialEq for BotCommand
Source§impl Serializable for BotCommand
impl Serializable for BotCommand
impl StructuralPartialEq for BotCommand
Auto Trait Implementations§
impl Freeze for BotCommand
impl RefUnwindSafe for BotCommand
impl Send for BotCommand
impl Sync for BotCommand
impl Unpin for BotCommand
impl UnsafeUnpin for BotCommand
impl UnwindSafe for BotCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more