Struct argc::FlagOptionValue
source · pub struct FlagOptionValue {Show 18 fields
pub id: String,
pub long_name: String,
pub short_name: Option<String>,
pub describe: String,
pub flag: bool,
pub notations: Vec<String>,
pub required: bool,
pub multiple_values: bool,
pub multiple_occurs: bool,
pub num_args: (usize, usize),
pub delimiter: Option<char>,
pub terminated: bool,
pub prefixed: bool,
pub assigned: bool,
pub default: Option<DefaultValue>,
pub choice: Option<ChoiceValue>,
pub env: Option<String>,
pub inherited: bool,
}Fields§
§id: String§long_name: String§short_name: Option<String>§describe: String§flag: bool§notations: Vec<String>§required: bool§multiple_values: bool§multiple_occurs: bool§num_args: (usize, usize)§delimiter: Option<char>§terminated: bool§prefixed: bool§assigned: bool§default: Option<DefaultValue>§choice: Option<ChoiceValue>§env: Option<String>§inherited: boolTrait Implementations§
source§impl Debug for FlagOptionValue
impl Debug for FlagOptionValue
Auto Trait Implementations§
impl Freeze for FlagOptionValue
impl RefUnwindSafe for FlagOptionValue
impl Send for FlagOptionValue
impl Sync for FlagOptionValue
impl Unpin for FlagOptionValue
impl UnwindSafe for FlagOptionValue
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more