pub struct ApplicationCommand {
pub id: Snowflake,
pub application_id: Snowflake,
pub name: String,
pub description: String,
pub options: Vec<ApplicationCommandOption>,
}Fields§
§id: Snowflake§application_id: Snowflake§name: String§description: String§options: Vec<ApplicationCommandOption>Trait Implementations§
Source§impl Clone for ApplicationCommand
impl Clone for ApplicationCommand
Source§fn clone(&self) -> ApplicationCommand
fn clone(&self) -> ApplicationCommand
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 ApplicationCommand
impl Debug for ApplicationCommand
Source§impl<'de> Deserialize<'de> for ApplicationCommand
impl<'de> Deserialize<'de> for ApplicationCommand
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 ApplicationCommand
impl PartialEq for ApplicationCommand
Source§impl Serialize for ApplicationCommand
impl Serialize for ApplicationCommand
impl StructuralPartialEq for ApplicationCommand
Auto Trait Implementations§
impl Freeze for ApplicationCommand
impl RefUnwindSafe for ApplicationCommand
impl Send for ApplicationCommand
impl Sync for ApplicationCommand
impl Unpin for ApplicationCommand
impl UnwindSafe for ApplicationCommand
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