pub struct SendPackOptions {
pub agent: String,
pub atomic: bool,
pub side_band: bool,
pub quiet: bool,
pub push_options: Vec<String>,
pub report_status_v2: bool,
}Expand description
What the client asks for.
Fields§
§agent: StringThe agent= string. Identifies the client in the remote’s logs.
atomic: boolRequire all-or-nothing across the whole command list. Errors if the
remote does not advertise atomic.
side_band: boolAsk for side-band-64k, so the remote’s hook output and errors arrive
rather than vanishing.
quiet: boolAsk the remote to be quiet about progress.
push_options: Vec<String>push-options, delivered after the command list. Errors if the
remote does not advertise push-options.
report_status_v2: boolPrefer report-status-v2 when advertised.
Trait Implementations§
Source§impl Clone for SendPackOptions
impl Clone for SendPackOptions
Source§fn clone(&self) -> SendPackOptions
fn clone(&self) -> SendPackOptions
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 SendPackOptions
impl Debug for SendPackOptions
Auto Trait Implementations§
impl Freeze for SendPackOptions
impl RefUnwindSafe for SendPackOptions
impl Send for SendPackOptions
impl Sync for SendPackOptions
impl Unpin for SendPackOptions
impl UnsafeUnpin for SendPackOptions
impl UnwindSafe for SendPackOptions
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