pub struct CommitLink {
pub parent: Option<Checksum>,
pub root_dirtree: Checksum,
pub root_dirmeta: Checksum,
}Expand description
The parent and the root checksums of a commit, from Commit::parse_link.
Fields§
§parent: Option<Checksum>The checksum of the parent commit, or None for a root commit.
root_dirtree: ChecksumThe checksum of the dirtree object of the root directory.
root_dirmeta: ChecksumThe checksum of the dirmeta object of the root directory.
Trait Implementations§
Source§impl Clone for CommitLink
impl Clone for CommitLink
impl Copy for CommitLink
Source§impl Debug for CommitLink
impl Debug for CommitLink
impl Eq for CommitLink
Source§impl PartialEq for CommitLink
impl PartialEq for CommitLink
impl StructuralPartialEq for CommitLink
Auto Trait Implementations§
impl Forget for CommitLink
impl Freeze for CommitLink
impl Move for CommitLink
impl RefUnwindSafe for CommitLink
impl Send for CommitLink
impl Sync for CommitLink
impl Unpin for CommitLink
impl UnsafeUnpin for CommitLink
impl UnwindSafe for CommitLink
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