pub struct CommandDescription {
pub command_options: Option<Vec<CommandOption>>,
}Fields§
§command_options: Option<Vec<CommandOption>>Implementations§
Source§impl CommandDescription
impl CommandDescription
pub fn new() -> CommandDescription
Trait Implementations§
Source§impl Clone for CommandDescription
impl Clone for CommandDescription
Source§fn clone(&self) -> CommandDescription
fn clone(&self) -> CommandDescription
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 CommandDescription
impl Debug for CommandDescription
Source§impl Default for CommandDescription
impl Default for CommandDescription
Source§fn default() -> CommandDescription
fn default() -> CommandDescription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandDescription
impl<'de> Deserialize<'de> for CommandDescription
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 CommandDescription
impl PartialEq for CommandDescription
Source§impl Serialize for CommandDescription
impl Serialize for CommandDescription
impl StructuralPartialEq for CommandDescription
Auto Trait Implementations§
impl Freeze for CommandDescription
impl RefUnwindSafe for CommandDescription
impl Send for CommandDescription
impl Sync for CommandDescription
impl Unpin for CommandDescription
impl UnwindSafe for CommandDescription
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