pub struct CliFlagSchema {
pub short: Option<String>,
pub long: Option<String>,
pub value_name: Option<String>,
pub takes_value: bool,
pub required: bool,
pub default_value: Option<String>,
pub possible_values: Vec<String>,
pub description: Option<String>,
}Fields§
§short: Option<String>§long: Option<String>§value_name: Option<String>§takes_value: bool§required: bool§default_value: Option<String>§possible_values: Vec<String>§description: Option<String>Trait Implementations§
Source§impl Clone for CliFlagSchema
impl Clone for CliFlagSchema
Source§impl Debug for CliFlagSchema
impl Debug for CliFlagSchema
impl Eq for CliFlagSchema
Source§impl PartialEq for CliFlagSchema
impl PartialEq for CliFlagSchema
Source§impl Serialize for CliFlagSchema
impl Serialize for CliFlagSchema
impl StructuralPartialEq for CliFlagSchema
Auto Trait Implementations§
impl Forget for CliFlagSchema
impl Freeze for CliFlagSchema
impl Move for CliFlagSchema
impl RefUnwindSafe for CliFlagSchema
impl Send for CliFlagSchemawhere
RawVecInner: Send,
impl Sync for CliFlagSchemawhere
RawVecInner: Sync,
impl Unpin for CliFlagSchema
impl UnsafeUnpin for CliFlagSchemawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CliFlagSchemawhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.