Struct argc::CommandValue
source · pub struct CommandValue {
pub name: String,
pub describe: String,
pub author: Option<String>,
pub version: Option<String>,
pub aliases: Vec<String>,
pub flag_options: Vec<FlagOptionValue>,
pub positionals: Vec<PositionalValue>,
pub envs: Vec<EnvValue>,
pub subcommands: Vec<CommandValue>,
pub extra: IndexMap<String, Value>,
}Fields§
§name: String§describe: String§version: Option<String>§aliases: Vec<String>§flag_options: Vec<FlagOptionValue>§positionals: Vec<PositionalValue>§envs: Vec<EnvValue>§subcommands: Vec<CommandValue>§extra: IndexMap<String, Value>Trait Implementations§
source§impl Debug for CommandValue
impl Debug for CommandValue
Auto Trait Implementations§
impl Freeze for CommandValue
impl RefUnwindSafe for CommandValue
impl Send for CommandValue
impl Sync for CommandValue
impl Unpin for CommandValue
impl UnwindSafe for CommandValue
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more