pub struct GitPushStats {
pub pushed: Vec<GitRefNameBuf>,
pub rejected: Vec<(GitRefNameBuf, Option<String>)>,
pub remote_rejected: Vec<(GitRefNameBuf, Option<String>)>,
pub unexported_bookmarks: Vec<(RemoteRefSymbolBuf, FailedRefExportReason)>,
}Expand description
Stats from a git push
Fields§
§pushed: Vec<GitRefNameBuf>reference accepted by the remote
rejected: Vec<(GitRefNameBuf, Option<String>)>rejected reference, due to lease failure, with an optional reason
remote_rejected: Vec<(GitRefNameBuf, Option<String>)>reference rejected by the remote, with an optional reason
unexported_bookmarks: Vec<(RemoteRefSymbolBuf, FailedRefExportReason)>remote bookmarks that couldn’t be exported to local Git repo
Implementations§
Source§impl GitPushStats
impl GitPushStats
Trait Implementations§
Source§impl Debug for GitPushStats
impl Debug for GitPushStats
Source§impl Default for GitPushStats
impl Default for GitPushStats
Source§fn default() -> GitPushStats
fn default() -> GitPushStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GitPushStats
impl !RefUnwindSafe for GitPushStats
impl Send for GitPushStats
impl Sync for GitPushStats
impl Unpin for GitPushStats
impl !UnwindSafe for GitPushStats
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more