pub struct Flag {
pub name: String,
pub names: Vec<String>,
pub help: String,
pub hide: bool,
pub global: GlobalFlag,
pub aliases: Vec<Alias>,
pub arg: Option<Arg>,
}Fields§
§name: String§names: Vec<String>§help: String§hide: bool§global: GlobalFlag§aliases: Vec<Alias>§arg: Option<Arg>Implementations§
Trait Implementations§
impl Eq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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