pub struct Info {
pub id: ObjectId,
pub parent_ids: ParentIds,
pub commit_time: Option<SecondsSinceUnixEpoch>,
}
Expand description
Information about a commit that we obtained naturally as part of the iteration.
Fields§
§id: ObjectId
The id of the commit.
parent_ids: ParentIds
All parent ids we have encountered. Note that these will be at most one if Parents::First
is enabled.
commit_time: Option<SecondsSinceUnixEpoch>
The time at which the commit was created. It will only be Some(_)
if the chosen traversal was
taking dates into consideration.
Trait Implementations§
source§impl Ord for Info
impl Ord for Info
source§impl PartialOrd for Info
impl PartialOrd for Info
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)