pub struct Commit {
pub parents: Vec<CommitId>,
pub predecessors: Vec<CommitId>,
pub root_tree: MergedTreeId,
pub change_id: ChangeId,
pub description: String,
pub author: Signature,
pub committer: Signature,
}
Fields§
§parents: Vec<CommitId>
§predecessors: Vec<CommitId>
§root_tree: MergedTreeId
§change_id: ChangeId
§description: String
§committer: Signature
Trait Implementations§
source§impl ContentHash for Commit
impl ContentHash for Commit
source§impl PartialEq for Commit
impl PartialEq for Commit
impl Eq for Commit
impl StructuralEq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnwindSafe for Commit
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