pub struct PushArgs {
pub remote: Option<String>,
pub thread: Option<String>,
pub thread_arg: Option<String>,
pub state: Option<String>,
pub force: bool,
pub all_threads: bool,
pub insecure: bool,
pub dry_run: bool,
}Expand description
Arguments for the push command.
Fields§
§remote: Option<String>Heddle remote name, native repository path, or hosted address.
thread: Option<String>Thread to push.
thread_arg: Option<String>Thread to push; alias for --thread.
state: Option<String>State to push (default: HEAD).
force: boolForce push.
all_threads: boolPush every thread. In Git Overlay, also include every local Git tag.
insecure: boolAllow cleartext (non-TLS) connections to non-loopback hosts. Prefer enabling TLS; use this only for intentional lab/VPN testing.
dry_run: boolPreview the push plan (target, thread/track ref, state that would be published, force status) without pushing, moving refs, capturing work, running hooks, or contacting the server for anything beyond read/plan.
Implementations§
Trait Implementations§
Source§impl Args for PushArgs
impl Args for PushArgs
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 PushArgs
impl FromArgMatches for PushArgs
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 PushArgs
impl RefUnwindSafe for PushArgs
impl Send for PushArgs
impl Sync for PushArgs
impl Unpin for PushArgs
impl UnsafeUnpin for PushArgs
impl UnwindSafe for PushArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request