pub struct CommitNode {
pub oid: String,
pub parents: Vec<String>,
pub tree: Option<String>,
pub committer_time: Option<i64>,
pub generation: u32,
}Expand description
One row of the commit graph.
Fields§
§oid: String§parents: Vec<String>§tree: Option<String>§committer_time: Option<i64>Committer timestamp, unix seconds. None when the commit carried none.
generation: u321 for a root (within this archive); 1 + max(parent generations) else.
Trait Implementations§
Source§impl Clone for CommitNode
impl Clone for CommitNode
Source§fn clone(&self) -> CommitNode
fn clone(&self) -> CommitNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitNode
impl Debug for CommitNode
impl Eq for CommitNode
Source§impl PartialEq for CommitNode
impl PartialEq for CommitNode
impl StructuralPartialEq for CommitNode
Auto Trait Implementations§
impl Freeze for CommitNode
impl RefUnwindSafe for CommitNode
impl Send for CommitNode
impl Sync for CommitNode
impl Unpin for CommitNode
impl UnsafeUnpin for CommitNode
impl UnwindSafe for CommitNode
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.