pub struct SchemaArgs {
pub args: Vec<Arg>,
pub bool_pairs: Vec<BoolFlagPair>,
pub enum_maps: HashMap<String, Vec<Value>>,
}Expand description
Full output of schema_to_clap_args.
Fields§
§args: Vec<Arg>clap Args ready to attach to a clap::Command.
bool_pairs: Vec<BoolFlagPair>Boolean flag pairs; used by collect_input to reconcile –flag/–no-flag.
enum_maps: HashMap<String, Vec<Value>>Maps property name (snake_case) → original enum values (as serde_json::Value). Used by reconvert_enum_values for type coercion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaArgs
impl !RefUnwindSafe for SchemaArgs
impl Send for SchemaArgs
impl Sync for SchemaArgs
impl Unpin for SchemaArgs
impl UnsafeUnpin for SchemaArgs
impl !UnwindSafe for SchemaArgs
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