pub struct PushOptions {
pub force: bool,
pub refspecs: Vec<String>,
pub extra_args: ExtraArgs,
}Expand description
Controls push behavior.
Fields§
§force: boolWhether to force push.
refspecs: Vec<String>Refspec overrides.
extra_args: ExtraArgsImplementation-specific passthrough arguments.
Trait Implementations§
Source§impl Clone for PushOptions
impl Clone for PushOptions
Source§fn clone(&self) -> PushOptions
fn clone(&self) -> PushOptions
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 moreSource§impl Debug for PushOptions
impl Debug for PushOptions
Source§impl Default for PushOptions
impl Default for PushOptions
Source§fn default() -> PushOptions
fn default() -> PushOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PushOptions
impl RefUnwindSafe for PushOptions
impl Send for PushOptions
impl Sync for PushOptions
impl Unpin for PushOptions
impl UnsafeUnpin for PushOptions
impl UnwindSafe for PushOptions
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