pub struct PushOutcome {
pub commands: Vec<ReceivePackCommand>,
pub report: Option<ReceivePackReportStatus>,
}Expand description
The structured result of a push.
Fields§
§commands: Vec<ReceivePackCommand>The receive-pack commands that were executed, in planning order. Each
carries the ref name and its old/new object id; the caller formats these
into git’s “To
report: Option<ReceivePackReportStatus>The remote’s report-status, when one was requested and received (i.e. the
remote advertised report-status). None when report-status was not
negotiated. Already validated: a failed unpack or a rejected ref is
surfaced as an Err from push, not returned here.
Trait Implementations§
Source§impl Clone for PushOutcome
impl Clone for PushOutcome
Source§fn clone(&self) -> PushOutcome
fn clone(&self) -> PushOutcome
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 PushOutcome
impl Debug for PushOutcome
Source§impl Default for PushOutcome
impl Default for PushOutcome
Source§fn default() -> PushOutcome
fn default() -> PushOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PushOutcome
impl RefUnwindSafe for PushOutcome
impl Send for PushOutcome
impl Sync for PushOutcome
impl Unpin for PushOutcome
impl UnsafeUnpin for PushOutcome
impl UnwindSafe for PushOutcome
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