pub struct RefRow {
pub name: String,
pub oid: Option<Vec<u8>>,
pub peeled: Option<Vec<u8>>,
pub symref_target: Option<String>,
}Expand description
One row of the ref namespace: name, oid, peeled.
Fields§
§name: String§oid: Option<Vec<u8>>Raw oid. None for a purely symbolic ref such as HEAD.
peeled: Option<Vec<u8>>For an annotated tag, the commit it peels to.
symref_target: Option<String>For a symbolic ref, what it points at.
Trait Implementations§
impl Eq for RefRow
impl StructuralPartialEq for RefRow
Auto Trait Implementations§
impl Freeze for RefRow
impl RefUnwindSafe for RefRow
impl Send for RefRow
impl Sync for RefRow
impl Unpin for RefRow
impl UnsafeUnpin for RefRow
impl UnwindSafe for RefRow
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.