pub struct RecentRef {
pub full: String,
pub oid: String,
pub kind: RefKind,
pub committer_unix: i64,
}Expand description
One ref returned by recent_branches.
Fields§
§full: StringFull ref name (refs/heads/main, refs/remotes/origin/feature,
refs/tags/v1, …).
oid: StringHex commit OID the ref points at.
kind: RefKind§committer_unix: i64Committer date as Unix epoch seconds. Useful for the per-ref
commits_days window calculation in prune.
Trait Implementations§
impl Eq for RecentRef
impl StructuralPartialEq for RecentRef
Auto Trait Implementations§
impl Freeze for RecentRef
impl RefUnwindSafe for RecentRef
impl Send for RecentRef
impl Sync for RecentRef
impl Unpin for RecentRef
impl UnsafeUnpin for RecentRef
impl UnwindSafe for RecentRef
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