pub struct BotCommandScopeDefault {}
Expand description
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.
Implementations§
Trait Implementations§
Source§impl Clone for BotCommandScopeDefault
impl Clone for BotCommandScopeDefault
Source§fn clone(&self) -> BotCommandScopeDefault
fn clone(&self) -> BotCommandScopeDefault
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 BotCommandScopeDefault
impl Debug for BotCommandScopeDefault
Source§impl<'de> Deserialize<'de> for BotCommandScopeDefault
impl<'de> Deserialize<'de> for BotCommandScopeDefault
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BotCommandScopeDefault
impl RefUnwindSafe for BotCommandScopeDefault
impl Send for BotCommandScopeDefault
impl Sync for BotCommandScopeDefault
impl Unpin for BotCommandScopeDefault
impl UnwindSafe for BotCommandScopeDefault
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