pub struct ArgDef {
pub name: String,
pub description: String,
pub required: bool,
}Expand description
Definition of a command argument
Fields§
§name: String§description: String§required: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgDef
impl RefUnwindSafe for ArgDef
impl Send for ArgDef
impl Sync for ArgDef
impl Unpin for ArgDef
impl UnwindSafe for ArgDef
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