pub struct ArgSpec {
pub name: String,
pub required: bool,
pub default: Option<String>,
pub completions: Vec<String>,
pub description: String,
}Fields§
§name: String§required: bool§default: Option<String>§completions: Vec<String>§description: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgSpec
impl RefUnwindSafe for ArgSpec
impl Send for ArgSpec
impl Sync for ArgSpec
impl Unpin for ArgSpec
impl UnsafeUnpin for ArgSpec
impl UnwindSafe for ArgSpec
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