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§
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