Struct polyphony_types::entities::ApplicationCommand
source · 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 copy 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<ApplicationCommand> for ApplicationCommand
impl PartialEq<ApplicationCommand> for ApplicationCommand
source§fn eq(&self, other: &ApplicationCommand) -> bool
fn eq(&self, other: &ApplicationCommand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ApplicationCommand
impl Serialize for ApplicationCommand
impl StructuralPartialEq for ApplicationCommand
Auto Trait Implementations§
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