Struct gix_traverse::commit::Info  
source · 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: ObjectIdThe id of the commit.
parent_ids: ParentIdsAll 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’s only Some(_) if sorting is not Sorting::BreadthFirst, as the walk
needs to require the commit-date.
Trait Implementations§
source§impl Ord for Info
 
impl Ord for Info
source§impl PartialEq<Info> for Info
 
impl PartialEq<Info> for Info
source§impl PartialOrd<Info> for Info
 
impl PartialOrd<Info> for Info
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Eq for Info
impl StructuralEq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more