pub struct CommitEntry {
pub sha: String,
pub short_sha: String,
pub author_name: String,
pub author_email: String,
pub author_date: String,
pub committer_name: String,
pub committer_email: String,
pub committer_date: String,
pub subject: String,
pub body: String,
}Available on crate feature
parse only.Expand description
A single parsed commit entry.
Fields§
§sha: StringFull SHA.
short_sha: StringAbbreviated SHA.
Author name.
Author email.
Author date, RFC 3339 / ISO 8601 strict.
committer_name: StringCommitter name.
committer_email: StringCommitter email.
committer_date: StringCommitter date, RFC 3339 / ISO 8601 strict.
subject: StringCommit subject line.
body: StringCommit body (may be empty, may span multiple lines).
Trait Implementations§
Source§impl Clone for CommitEntry
impl Clone for CommitEntry
Source§fn clone(&self) -> CommitEntry
fn clone(&self) -> CommitEntry
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 moreSource§impl Debug for CommitEntry
impl Debug for CommitEntry
Source§impl<'de> Deserialize<'de> for CommitEntry
impl<'de> Deserialize<'de> for CommitEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CommitEntry
impl PartialEq for CommitEntry
Source§fn eq(&self, other: &CommitEntry) -> bool
fn eq(&self, other: &CommitEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommitEntry
impl Serialize for CommitEntry
impl Eq for CommitEntry
impl StructuralPartialEq for CommitEntry
Auto Trait Implementations§
impl Freeze for CommitEntry
impl RefUnwindSafe for CommitEntry
impl Send for CommitEntry
impl Sync for CommitEntry
impl Unpin for CommitEntry
impl UnsafeUnpin for CommitEntry
impl UnwindSafe for CommitEntry
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