pub struct PeeledRemoteRef {
pub name: String,
pub oid: ObjectId,
pub peeled: Option<ObjectId>,
pub symref_target: Option<String>,
}Expand description
One advertised ref with its peeled ^{} line folded in (see fold_peeled_refs).
Fields§
§name: StringFull reference name (never ends in ^{}).
oid: ObjectIdObject id the ref points at (the tag object for annotated tags).
peeled: Option<ObjectId>Object the annotated tag peels to, when the listing carried a ^{} line for it.
symref_target: Option<String>Symbolic-ref target, as in RemoteRef::symref_target.
Trait Implementations§
Source§impl Clone for PeeledRemoteRef
impl Clone for PeeledRemoteRef
Source§impl Debug for PeeledRemoteRef
impl Debug for PeeledRemoteRef
impl Eq for PeeledRemoteRef
Source§impl PartialEq for PeeledRemoteRef
impl PartialEq for PeeledRemoteRef
impl StructuralPartialEq for PeeledRemoteRef
Auto Trait Implementations§
impl Freeze for PeeledRemoteRef
impl RefUnwindSafe for PeeledRemoteRef
impl Send for PeeledRemoteRef
impl Sync for PeeledRemoteRef
impl Unpin for PeeledRemoteRef
impl UnsafeUnpin for PeeledRemoteRef
impl UnwindSafe for PeeledRemoteRef
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§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.