pub struct MenuButtonCommands {}Expand description
Represents a menu button, which opens the bot’s list of commands.
API Reference: link
Trait Implementations§
Source§impl Clone for MenuButtonCommands
impl Clone for MenuButtonCommands
Source§fn clone(&self) -> MenuButtonCommands
fn clone(&self) -> MenuButtonCommands
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MenuButtonCommands
impl Debug for MenuButtonCommands
Source§impl Default for MenuButtonCommands
impl Default for MenuButtonCommands
Source§fn default() -> MenuButtonCommands
fn default() -> MenuButtonCommands
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MenuButtonCommands
impl<'de> Deserialize<'de> for MenuButtonCommands
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
Source§impl From<MenuButtonCommands> for MenuButton
impl From<MenuButtonCommands> for MenuButton
Source§fn from(value: MenuButtonCommands) -> Self
fn from(value: MenuButtonCommands) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MenuButtonCommands
impl PartialEq for MenuButtonCommands
Source§fn eq(&self, other: &MenuButtonCommands) -> bool
fn eq(&self, other: &MenuButtonCommands) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MenuButtonCommands
impl Serialize for MenuButtonCommands
impl StructuralPartialEq for MenuButtonCommands
Auto Trait Implementations§
impl Freeze for MenuButtonCommands
impl RefUnwindSafe for MenuButtonCommands
impl Send for MenuButtonCommands
impl Sync for MenuButtonCommands
impl Unpin for MenuButtonCommands
impl UnsafeUnpin for MenuButtonCommands
impl UnwindSafe for MenuButtonCommands
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