pub struct PushOutcome {
pub results: Vec<PushRefResult>,
pub remote_messages: Vec<String>,
}Expand description
The structured result of a push. Reuses PushRefResult for per-ref status.
Fields§
§results: Vec<PushRefResult>Per-ref resolved results (status, old/new oid, reason).
remote_messages: Vec<String>Hook and diagnostic lines from the remote (side-band channel 2), in order.
Empty for local file:// pushes and when the server did not use side-band.
Trait Implementations§
Source§impl Clone for PushOutcome
impl Clone for PushOutcome
Source§impl Debug for PushOutcome
impl Debug for PushOutcome
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