pub struct Parent {
pub commit_id: ObjectId,
pub generation: u32,
pub commit_time: i64,
}Expand description
Owned parent commit information collected during traversal.
Shared with traversal buffers so allocation-limit estimates use the same record layout.
Fields§
§commit_id: ObjectIdThe object ID of the parent commit.
generation: u32The parent’s generation number, or GENERATION_NUMBER_INFINITY if unavailable.
commit_time: i64The parent’s committer timestamp, in seconds since the Unix epoch.
Trait Implementations§
impl Copy for Parent
impl Eq for Parent
impl StructuralPartialEq for Parent
Auto Trait Implementations§
impl Freeze for Parent
impl RefUnwindSafe for Parent
impl Send for Parent
impl Sync for Parent
impl Unpin for Parent
impl UnsafeUnpin for Parent
impl UnwindSafe for Parent
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