pub struct Arg {
pub name: String,
pub help: Option<String>,
pub long_help: Option<String>,
pub required: bool,
pub var: bool,
pub var_min: Option<i64>,
pub var_max: Option<i64>,
pub hide: bool,
pub default: Option<String>,
}Fields§
§name: String§help: Option<String>§long_help: Option<String>§required: bool§var: bool§var_min: Option<i64>§var_max: Option<i64>§hide: bool§default: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Arg
impl Send for Arg
impl Sync for Arg
impl Unpin for Arg
impl UnwindSafe for Arg
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