pub struct FlagContract {
pub name: &'static str,
pub takes_value: bool,
pub value_name: Option<&'static str>,
pub allowed_values: Vec<&'static str>,
pub required: bool,
pub repeatable: bool,
}Fields§
§name: &'static str§takes_value: bool§value_name: Option<&'static str>§allowed_values: Vec<&'static str>§required: bool§repeatable: boolImplementations§
Source§impl FlagContract
impl FlagContract
Trait Implementations§
Source§impl Debug for FlagContract
impl Debug for FlagContract
Auto Trait Implementations§
impl Freeze for FlagContract
impl RefUnwindSafe for FlagContract
impl Send for FlagContract
impl Sync for FlagContract
impl Unpin for FlagContract
impl UnsafeUnpin for FlagContract
impl UnwindSafe for FlagContract
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