pub struct GitPushStats {
pub pushed: Vec<GitRefNameBuf>,
pub rejected: Vec<(GitRefNameBuf, Option<String>)>,
pub remote_rejected: Vec<(GitRefNameBuf, Option<String>)>,
}
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
Implementations§
Trait Implementations§
Source§impl Clone for GitPushStats
impl Clone for GitPushStats
Source§fn clone(&self) -> GitPushStats
fn clone(&self) -> GitPushStats
Returns a duplicate of the value. Read more
1.0.0 · 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 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
Source§impl PartialEq for GitPushStats
impl PartialEq for GitPushStats
impl Eq for GitPushStats
impl StructuralPartialEq for GitPushStats
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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