pub struct RigArgs {
pub rig: Option<String>,
pub command: RigCommand,
}Expand description
Rig args (04-01, RIG-01): --rig rides the TOP level (the
SessionsArgs --type precedent) so every rig verb shares it. The
command enum carries ONLY the wired verbs — later plans extend it
one variant at a time (the established extend-per-plan chore; no
unimplemented!() stubs, every commit compiles clippy-clean).
Fields§
§rig: Option<String>Rig to operate on (default: IGNITION_RIG, then [rig].default, then the cwd/convention scan)
command: RigCommandTrait Implementations§
Source§impl Args for RigArgs
impl Args for RigArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for RigArgs
impl FromArgMatches for RigArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Forget for RigArgs
impl Freeze for RigArgs
impl RefUnwindSafe for RigArgs
impl Send for RigArgs
impl Sync for RigArgs
impl Unpin for RigArgs
impl UnsafeUnpin for RigArgs
impl UnwindSafe for RigArgs
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