pub struct PushOptions {
pub git_bin: Option<PathBuf>,
}Expand description
Knobs for a batch push.
Deliberately minimal: there is no force escape hatch (see the module docs) and no remote override — a branch publishes to its own upstream’s remote, which is the only destination this engine will use.
Fields§
§git_bin: Option<PathBuf>The git executable to shell out to. None resolves it via
resolve_git_binary, which is what a caller with a minimal PATH (the
daemon) needs; the field exists so a caller can resolve once and reuse,
and so a test can point the engine at a stub.
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