pub struct CLArgument {
pub name: String,
pub description: String,
pub required: bool,
}Expand description
A positional argument (required or optional).
Fields§
§name: String§description: String§required: boolImplementations§
Trait Implementations§
Source§impl Clone for CLArgument
impl Clone for CLArgument
Source§fn clone(&self) -> CLArgument
fn clone(&self) -> CLArgument
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 moreAuto Trait Implementations§
impl Freeze for CLArgument
impl RefUnwindSafe for CLArgument
impl Send for CLArgument
impl Sync for CLArgument
impl Unpin for CLArgument
impl UnsafeUnpin for CLArgument
impl UnwindSafe for CLArgument
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