pub struct CommitEntry {
pub hash: String,
pub short_hash: String,
pub message: String,
pub author: String,
pub date: String,
pub date_relative: String,
}Expand description
A single commit log entry.
Fields§
§hash: StringFull 40-character SHA-1 hash.
short_hash: String7-character abbreviated hash.
message: StringFirst line of the commit message.
Author name.
date: StringISO-8601 author date.
date_relative: StringHuman-readable relative date (e.g. “3 days ago”).
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
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