pub struct HelpArgs {
pub topic: Option<String>,
pub agent: bool,
pub manifest: bool,
pub publish: bool,
pub no_proxy: bool,
}Fields§
§topic: Option<String>Feature name (e.g. “impact”) or a phrase (e.g. “blast radius”).
agent: boolMachine-readable JSON output.
manifest: boolPrint this binary’s manifest (feature -> synopsis -> owner -> version).
publish: boolPublish this binary’s manifest into the shared cross-tool help index, merging alongside any other tool’s entry. Prints the path written.
no_proxy: boolResolve locally only — do not proxy an unknown topic to the other tool. Used internally to break the proxy chain (single-hop guard).
Trait Implementations§
Source§impl Args for HelpArgs
impl Args for HelpArgs
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 HelpArgs
impl FromArgMatches for HelpArgs
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 Freeze for HelpArgs
impl RefUnwindSafe for HelpArgs
impl Send for HelpArgs
impl Sync for HelpArgs
impl Unpin for HelpArgs
impl UnsafeUnpin for HelpArgs
impl UnwindSafe for HelpArgs
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