pub struct ScanArguments {
pub base: String,
pub changelog: PathBuf,
pub force: bool,
pub output: PathBuf,
}Expand description
The arguments of git-harvest scan.
Fields§
§base: StringThe ref the branch diverged from; its merge base bounds the walk.
changelog: PathBufThe CHANGELOG to read the harvest configuration from, if it exists.
force: boolOverwrite the fragment when one of the same name exists already.
output: PathBufThe directory to write the fragment into.
Trait Implementations§
Source§impl Args for ScanArguments
impl Args for ScanArguments
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 ScanArguments
impl Debug for ScanArguments
Source§impl FromArgMatches for ScanArguments
impl FromArgMatches for ScanArguments
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 ScanArguments
impl RefUnwindSafe for ScanArguments
impl Send for ScanArguments
impl Sync for ScanArguments
impl Unpin for ScanArguments
impl UnsafeUnpin for ScanArguments
impl UnwindSafe for ScanArguments
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