pub struct IntegrateArgs {
pub branch: String,
pub target: Utf8PathBuf,
pub message: Option<String>,
pub local: bool,
pub forge: bool,
pub apply: bool,
pub json: bool,
}Expand description
Move one implementation onto the trunk, through the recorded authority.
Fields§
§branch: StringThe branch to integrate.
target: Utf8PathBufThe target repository.
message: Option<String>The trunk commit’s message. A local integration writes it as the squash commit, so it must be a scoped Conventional Commit the landed guards admit. Required for a local integration.
local: boolIntegrate locally for this one execution, whatever the record says. It writes no record and changes no landed byte.
forge: boolIntegrate at the forge for this one execution, whatever the record says.
apply: boolPerform the integration. Without it the command reports what it would do and writes nothing.
json: boolEmit one JSON object on stdout instead of the human report.
Trait Implementations§
Source§impl Args for IntegrateArgs
impl Args for IntegrateArgs
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 IntegrateArgs
impl Debug for IntegrateArgs
Source§impl FromArgMatches for IntegrateArgs
impl FromArgMatches for IntegrateArgs
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 IntegrateArgs
impl RefUnwindSafe for IntegrateArgs
impl Send for IntegrateArgs
impl Sync for IntegrateArgs
impl Unpin for IntegrateArgs
impl UnsafeUnpin for IntegrateArgs
impl UnwindSafe for IntegrateArgs
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