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