pub struct FlagSpec {
pub name: &'static str,
pub long: &'static str,
pub value_type: FlagValueType,
pub required: bool,
pub description: &'static str,
}Expand description
Metadata for a single flag.
Fields§
§name: &'static str§long: &'static str§value_type: FlagValueType§required: bool§description: &'static strAuto Trait Implementations§
impl Freeze for FlagSpec
impl RefUnwindSafe for FlagSpec
impl Send for FlagSpec
impl Sync for FlagSpec
impl Unpin for FlagSpec
impl UnsafeUnpin for FlagSpec
impl UnwindSafe for FlagSpec
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