pub struct GetBotCommands {
pub scope: BotCommandScope,
pub lang_code: String,
}Expand description
Read bots.getBotCommands docs.
Generated from the following TL definition:
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 = 3813412310
const CONSTRUCTOR_ID: u32 = 3813412310
The unique identifier for the type.
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 type of the “return” value coming from the other end of the
connection.
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