pub struct CommandArg {
pub name: &'static str,
pub ty: &'static str,
pub kind: ArgKind,
pub slug: &'static str,
pub hint: &'static str,
pub example: Option<&'static str>,
pub check: ArgCheck,
}Fields§
§name: &'static str§ty: &'static strThe raw constructor target type, e.g. "SpaceAddressValue".
kind: ArgKind§slug: &'static str§hint: &'static str§example: Option<&'static str>§check: ArgCheckTrait Implementations§
Source§impl Clone for CommandArg
impl Clone for CommandArg
impl Copy for CommandArg
Auto Trait Implementations§
impl Forget for CommandArg
impl Freeze for CommandArg
impl Move for CommandArg
impl RefUnwindSafe for CommandArg
impl Send for CommandArg
impl Sync for CommandArg
impl Unpin for CommandArg
impl UnsafeUnpin for CommandArg
impl UnwindSafe for CommandArg
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