pub struct RefState {
pub name: String,
pub commit: Option<Checksum>,
}Expand description
The state of a ref as the server reads it.
Fields§
§name: StringThe ref name, as the Hello holds it.
commit: Option<Checksum>The commit of the ref, or None if the ref is absent.
Trait Implementations§
impl Eq for RefState
impl StructuralPartialEq for RefState
Auto Trait Implementations§
impl Forget for RefState
impl Freeze for RefState
impl Move for RefState
impl RefUnwindSafe for RefState
impl Send for RefStatewhere
RawVecInner: Send,
impl Sync for RefStatewhere
RawVecInner: Sync,
impl Unpin for RefState
impl UnsafeUnpin for RefState
impl UnwindSafe for RefStatewhere
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.