pub struct SetBotCommands {
pub scope: BotCommandScope,
pub lang_code: String,
pub commands: Vec<BotCommand>,
}Expand description
Read bots.setBotCommands docs.
Generated from the following TL definition:
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 = 85399130
const CONSTRUCTOR_ID: u32 = 85399130
The unique identifier for the type.
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