pub struct HistoricalRevisionArgs {
pub state: Option<String>,
}Expand description
Historical revision selector. Always --state.
Accepts short or full state IDs, marker names, HEAD, @, or HEAD~N.
Combined with --path, this is the revision to read; without --path,
it is the state-level target.
Fields§
§state: Option<String>Historical revision or state-level target.
Implementations§
Trait Implementations§
Source§impl Args for HistoricalRevisionArgs
impl Args for HistoricalRevisionArgs
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 Clone for HistoricalRevisionArgs
impl Clone for HistoricalRevisionArgs
Source§impl Debug for HistoricalRevisionArgs
impl Debug for HistoricalRevisionArgs
Source§impl Default for HistoricalRevisionArgs
impl Default for HistoricalRevisionArgs
Source§impl FromArgMatches for HistoricalRevisionArgs
impl FromArgMatches for HistoricalRevisionArgs
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 HistoricalRevisionArgs
impl RefUnwindSafe for HistoricalRevisionArgs
impl Send for HistoricalRevisionArgs
impl Sync for HistoricalRevisionArgs
impl Unpin for HistoricalRevisionArgs
impl UnsafeUnpin for HistoricalRevisionArgs
impl UnwindSafe for HistoricalRevisionArgs
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