pub struct CommandSchema {
pub command: String,
pub description: String,
pub params: Vec<ParamSchema>,
}Expand description
Full schema for a command.
Fields§
§command: String§description: String§params: Vec<ParamSchema>Trait Implementations§
Source§impl Clone for CommandSchema
impl Clone for CommandSchema
Source§fn clone(&self) -> CommandSchema
fn clone(&self) -> CommandSchema
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 CommandSchema
impl Debug for CommandSchema
Auto Trait Implementations§
impl Freeze for CommandSchema
impl RefUnwindSafe for CommandSchema
impl Send for CommandSchema
impl Sync for CommandSchema
impl Unpin for CommandSchema
impl UnsafeUnpin for CommandSchema
impl UnwindSafe for CommandSchema
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