pub struct RefOutcome {
pub name: String,
pub old: Option<Checksum>,
pub new: Option<Checksum>,
}Expand description
The result of one ref update in a CommitReply message.
Fields§
§name: StringThe ref name, as the client sent it.
old: Option<Checksum>The commit before the write, or None if the ref was absent.
new: Option<Checksum>The commit after the write, or None if the ref is now absent.
Trait Implementations§
Source§impl Clone for RefOutcome
impl Clone for RefOutcome
Source§impl Debug for RefOutcome
impl Debug for RefOutcome
impl Eq for RefOutcome
Source§impl PartialEq for RefOutcome
impl PartialEq for RefOutcome
impl StructuralPartialEq for RefOutcome
Auto Trait Implementations§
impl Forget for RefOutcome
impl Freeze for RefOutcome
impl Move for RefOutcome
impl RefUnwindSafe for RefOutcome
impl Send for RefOutcomewhere
RawVecInner: Send,
impl Sync for RefOutcomewhere
RawVecInner: Sync,
impl Unpin for RefOutcome
impl UnsafeUnpin for RefOutcome
impl UnwindSafe for RefOutcomewhere
RawVecInner: UnwindSafe,
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.