pub struct VersionsArgs {
pub check: bool,
pub json: bool,
}Expand description
Print the pinned-tool registry, or check it against the world.
Fields§
§check: boolExplicitly go online: fetch each pin’s check URL and report per pin — current, update-available, source-unreachable, or source-unparsable. Mutates nothing; a pin update is a reviewed change to versions.toml.
json: boolEmit one JSON object on stdout instead of the human report.
Trait Implementations§
Source§impl Args for VersionsArgs
impl Args for VersionsArgs
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 Debug for VersionsArgs
impl Debug for VersionsArgs
Source§impl FromArgMatches for VersionsArgs
impl FromArgMatches for VersionsArgs
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 VersionsArgs
impl RefUnwindSafe for VersionsArgs
impl Send for VersionsArgs
impl Sync for VersionsArgs
impl Unpin for VersionsArgs
impl UnsafeUnpin for VersionsArgs
impl UnwindSafe for VersionsArgs
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