pub struct DeleteBotCommands { /* private fields */ }Expand description
Deletes a list of a bot commands of a given scope and user language.
After deletion, higher level commands will be shown to affected users.
Implementations§
Source§impl DeleteBotCommands
impl DeleteBotCommands
Sourcepub fn with_language_code<T>(self, value: T) -> Self
pub fn with_language_code<T>(self, value: T) -> Self
Sourcepub fn with_scope(self, value: BotCommandScope) -> Self
pub fn with_scope(self, value: BotCommandScope) -> Self
Trait Implementations§
Source§impl Clone for DeleteBotCommands
impl Clone for DeleteBotCommands
Source§fn clone(&self) -> DeleteBotCommands
fn clone(&self) -> DeleteBotCommands
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 DeleteBotCommands
impl Debug for DeleteBotCommands
Source§impl Default for DeleteBotCommands
impl Default for DeleteBotCommands
Source§fn default() -> DeleteBotCommands
fn default() -> DeleteBotCommands
Returns the “default value” for a type. Read more
Source§impl Method for DeleteBotCommands
impl Method for DeleteBotCommands
Auto Trait Implementations§
impl Freeze for DeleteBotCommands
impl RefUnwindSafe for DeleteBotCommands
impl Send for DeleteBotCommands
impl Sync for DeleteBotCommands
impl Unpin for DeleteBotCommands
impl UnwindSafe for DeleteBotCommands
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