pub struct NamedFlag {
pub name: String,
pub description: String,
pub short: String,
pub long: String,
pub multiple: bool,
pub takes_value: bool,
pub validate_as_number: bool,
pub choices: Vec<String>,
pub required: bool,
pub val: String,
}
Fields§
§name: String
§description: String
§short: String
§long: String
§multiple: bool
§takes_value: bool
§validate_as_number: bool
§choices: Vec<String>
§required: bool
§val: String
Used within mask. TODO: store in a different place within mask instead of here.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NamedFlag
impl RefUnwindSafe for NamedFlag
impl Send for NamedFlag
impl Sync for NamedFlag
impl Unpin for NamedFlag
impl UnwindSafe for NamedFlag
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