pub struct GitHead {
pub flags: u8,
pub oid: GitOid,
pub name: String,
}Expand description
The current HEAD.
Fields§
§flags: u8§oid: GitOid§name: StringSymbolic target (empty when detached).
Trait Implementations§
impl Eq for GitHead
impl StructuralPartialEq for GitHead
Auto Trait Implementations§
impl Freeze for GitHead
impl RefUnwindSafe for GitHead
impl Send for GitHead
impl Sync for GitHead
impl Unpin for GitHead
impl UnsafeUnpin for GitHead
impl UnwindSafe for GitHead
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