pub struct RemoteHelperPushOptions {
pub force: bool,
pub dry_run: bool,
}Expand description
Controls for the protocol-affecting portion of a remote-helper push.
Fields§
§force: boolAsk an option-capable helper to accept non-fast-forward updates.
dry_run: boolValidate and discover the helper without exporting objects or refs.
Trait Implementations§
Source§impl Clone for RemoteHelperPushOptions
impl Clone for RemoteHelperPushOptions
Source§fn clone(&self) -> RemoteHelperPushOptions
fn clone(&self) -> RemoteHelperPushOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoteHelperPushOptions
Source§impl Debug for RemoteHelperPushOptions
impl Debug for RemoteHelperPushOptions
Source§impl Default for RemoteHelperPushOptions
impl Default for RemoteHelperPushOptions
Source§fn default() -> RemoteHelperPushOptions
fn default() -> RemoteHelperPushOptions
Returns the “default value” for a type. Read more
impl Eq for RemoteHelperPushOptions
Source§impl PartialEq for RemoteHelperPushOptions
impl PartialEq for RemoteHelperPushOptions
impl StructuralPartialEq for RemoteHelperPushOptions
Auto Trait Implementations§
impl Freeze for RemoteHelperPushOptions
impl RefUnwindSafe for RemoteHelperPushOptions
impl Send for RemoteHelperPushOptions
impl Sync for RemoteHelperPushOptions
impl Unpin for RemoteHelperPushOptions
impl UnsafeUnpin for RemoteHelperPushOptions
impl UnwindSafe for RemoteHelperPushOptions
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