pub struct CommitObject {
pub hash: GitHash,
pub tree: GitHash,
pub parents: Vec<GitHash>,
pub author: Signature,
pub committer: Signature,
pub message: String,
pub is_signed: bool,
}Fields§
§hash: GitHash§tree: GitHash§parents: Vec<GitHash>§committer: Signature§message: String§is_signed: boolTrue iff a gpgsig header was present (the commit is cryptographically
signed). The signature’s validity is not checked here — only its
presence, which is what a signing-policy audit reasons about.
Implementations§
Trait Implementations§
Source§impl Clone for CommitObject
impl Clone for CommitObject
Source§fn clone(&self) -> CommitObject
fn clone(&self) -> CommitObject
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 moreAuto Trait Implementations§
impl Freeze for CommitObject
impl RefUnwindSafe for CommitObject
impl Send for CommitObject
impl Sync for CommitObject
impl Unpin for CommitObject
impl UnsafeUnpin for CommitObject
impl UnwindSafe for CommitObject
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