Struct git_graph::graph::CommitInfo
source · pub struct CommitInfo {
pub oid: Oid,
pub is_merge: bool,
pub parents: [Option<Oid>; 2],
pub children: Vec<Oid>,
pub branches: Vec<usize>,
pub tags: Vec<usize>,
pub branch_trace: Option<usize>,
}Expand description
Represents a commit.
Fields
oid: Oidis_merge: boolparents: [Option<Oid>; 2]children: Vec<Oid>branches: Vec<usize>branch_trace: Option<usize>Auto Trait Implementations
impl RefUnwindSafe for CommitInfo
impl Send for CommitInfo
impl Sync for CommitInfo
impl Unpin for CommitInfo
impl UnwindSafe for CommitInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more