pub struct CliCommandSchema {
pub name: String,
pub description: Option<String>,
pub arguments: Vec<CliArgumentSchema>,
pub flags: Vec<CliFlagSchema>,
pub subcommands: Vec<CliCommandSchema>,
}Fields§
§name: String§description: Option<String>§arguments: Vec<CliArgumentSchema>§flags: Vec<CliFlagSchema>§subcommands: Vec<CliCommandSchema>Trait Implementations§
Source§impl Clone for CliCommandSchema
impl Clone for CliCommandSchema
Source§impl Debug for CliCommandSchema
impl Debug for CliCommandSchema
impl Eq for CliCommandSchema
Source§impl PartialEq for CliCommandSchema
impl PartialEq for CliCommandSchema
Source§impl Serialize for CliCommandSchema
impl Serialize for CliCommandSchema
impl StructuralPartialEq for CliCommandSchema
Auto Trait Implementations§
impl Forget for CliCommandSchema
impl Freeze for CliCommandSchemawhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CliArgumentSchema>: Freeze,
PhantomData<CliFlagSchema>: Freeze,
PhantomData<CliCommandSchema>: Freeze,
impl Move for CliCommandSchema
impl RefUnwindSafe for CliCommandSchema
impl Send for CliCommandSchemawhere
RawVecInner: Send,
impl Sync for CliCommandSchemawhere
RawVecInner: Sync,
impl Unpin for CliCommandSchema
impl UnsafeUnpin for CliCommandSchemawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CliArgumentSchema>: UnsafeUnpin,
PhantomData<CliFlagSchema>: UnsafeUnpin,
PhantomData<CliCommandSchema>: UnsafeUnpin,
impl UnwindSafe for CliCommandSchemawhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.