pub struct ArgDefinition {
pub name: String,
pub description: String,
pub required: bool,
pub arg_type: String,
pub cli_flag: Option<String>,
pub default: Option<String>,
pub is_path: bool,
}Fields§
§name: String§description: String§required: bool§arg_type: String§cli_flag: Option<String>§default: Option<String>§is_path: boolTrait Implementations§
Source§impl Clone for ArgDefinition
impl Clone for ArgDefinition
Source§fn clone(&self) -> ArgDefinition
fn clone(&self) -> ArgDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArgDefinition
impl Debug for ArgDefinition
Source§impl<'de> Deserialize<'de> for ArgDefinition
impl<'de> Deserialize<'de> for ArgDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ArgDefinition
impl RefUnwindSafe for ArgDefinition
impl Send for ArgDefinition
impl Sync for ArgDefinition
impl Unpin for ArgDefinition
impl UnwindSafe for ArgDefinition
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