pub struct CommandsUpdated {
pub bot_id: BotId,
pub commands: Vec<ApplicationCommand>,
}Expand description
command.updated: one bot’s whole command list ([] while disabled or removed).
Fields§
§bot_id: BotIdThe bot.
commands: Vec<ApplicationCommand>Its commands.
Trait Implementations§
Source§impl Clone for CommandsUpdated
impl Clone for CommandsUpdated
Source§fn clone(&self) -> CommandsUpdated
fn clone(&self) -> CommandsUpdated
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 CommandsUpdated
impl Debug for CommandsUpdated
Source§impl<'de> Deserialize<'de> for CommandsUpdated
impl<'de> Deserialize<'de> for CommandsUpdated
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 PartialEq for CommandsUpdated
impl PartialEq for CommandsUpdated
Source§impl Serialize for CommandsUpdated
impl Serialize for CommandsUpdated
impl StructuralPartialEq for CommandsUpdated
Auto Trait Implementations§
impl Freeze for CommandsUpdated
impl RefUnwindSafe for CommandsUpdated
impl Send for CommandsUpdated
impl Sync for CommandsUpdated
impl Unpin for CommandsUpdated
impl UnsafeUnpin for CommandsUpdated
impl UnwindSafe for CommandsUpdated
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