pub struct PushOpts {
pub remote: String,
pub refspecs: Vec<String>,
pub force: bool,
pub tags: bool,
pub timeout_secs: Option<u64>,
}Expand description
Options for push operation
Fields§
§remote: StringRemote name (defaults to “origin”)
refspecs: Vec<String>Refspecs to push (empty means current branch)
force: boolForce push
Push all tags
timeout_secs: Option<u64>Timeout in seconds (default: 300)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PushOpts
impl RefUnwindSafe for PushOpts
impl Send for PushOpts
impl Sync for PushOpts
impl Unpin for PushOpts
impl UnwindSafe for PushOpts
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