pub struct SetBotCommands {
pub scope: BotCommandScope,
pub lang_code: String,
pub commands: Vec<BotCommand>,
}Expand description
Generated from:
bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = BoolFields§
§scope: BotCommandScope§lang_code: String§commands: Vec<BotCommand>Trait Implementations§
Source§impl Clone for SetBotCommands
impl Clone for SetBotCommands
Source§fn clone(&self) -> SetBotCommands
fn clone(&self) -> SetBotCommands
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 SetBotCommands
impl Debug for SetBotCommands
Source§impl Identifiable for SetBotCommands
impl Identifiable for SetBotCommands
Source§const CONSTRUCTOR_ID: u32 = 0x0517165a
const CONSTRUCTOR_ID: u32 = 0x0517165a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SetBotCommands
impl PartialEq for SetBotCommands
Source§impl RemoteCall for SetBotCommands
impl RemoteCall for SetBotCommands
Source§impl Serializable for SetBotCommands
impl Serializable for SetBotCommands
impl StructuralPartialEq for SetBotCommands
Auto Trait Implementations§
impl Freeze for SetBotCommands
impl RefUnwindSafe for SetBotCommands
impl Send for SetBotCommands
impl Sync for SetBotCommands
impl Unpin for SetBotCommands
impl UnsafeUnpin for SetBotCommands
impl UnwindSafe for SetBotCommands
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