pub struct DiffArgs {
pub from: Option<String>,
pub to: Option<String>,
pub refs: Vec<String>,
pub format: DiffFormat,
pub compact: bool,
pub color: ColorMode,
}Fields§
§from: Option<String>Base receipt/run or git ref to compare from.
to: Option<String>Target receipt/run or git ref to compare to.
refs: Vec<String>Two refs/paths to compare (positional).
format: DiffFormatOutput format.
compact: boolCompact output for narrow terminals (summary table only).
color: ColorModeColor policy for terminal output.
Trait Implementations§
Source§impl Args for DiffArgs
impl Args for DiffArgs
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 DiffArgs
impl FromArgMatches for DiffArgs
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 DiffArgs
impl RefUnwindSafe for DiffArgs
impl Send for DiffArgs
impl Sync for DiffArgs
impl Unpin for DiffArgs
impl UnsafeUnpin for DiffArgs
impl UnwindSafe for DiffArgs
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