pub struct Commit {
pub oid: Oid,
pub author: Signature,
pub committer: Signature,
pub message: String,
pub parents: Vec<Oid>,
}Expand description
A git commit object.
Fields§
§oid: OidCommit object ID.
Author identity.
committer: SignatureCommitter identity.
message: StringCommit message.
parents: Vec<Oid>Parent commit IDs.
Trait Implementations§
impl Eq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnsafeUnpin 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