pub struct Spec {
pub name: String,
pub bin: String,
pub cmd: SpecCommand,
pub config: SpecConfig,
pub version: Option<String>,
pub usage: String,
pub complete: IndexMap<String, Complete>,
pub about: Option<String>,
pub long_about: Option<String>,
}Fields§
§name: String§bin: String§cmd: SpecCommand§config: SpecConfig§version: Option<String>§usage: String§complete: IndexMap<String, Complete>§about: Option<String>§long_about: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnwindSafe for Spec
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