pub struct CommitInfo {
pub hash: String,
pub short_hash: String,
pub author: String,
pub message: String,
pub timestamp: i64,
pub files_changed: usize,
pub insertions: usize,
pub deletions: usize,
}Expand description
Parsed commit information extracted from git history.
Fields§
§hash: String§short_hash: String§message: String§timestamp: i64§files_changed: usize§insertions: usize§deletions: usizeTrait Implementations§
Source§impl Clone for CommitInfo
impl Clone for CommitInfo
Source§fn clone(&self) -> CommitInfo
fn clone(&self) -> CommitInfo
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 CommitInfo
impl RefUnwindSafe for CommitInfo
impl Send for CommitInfo
impl Sync for CommitInfo
impl Unpin for CommitInfo
impl UnsafeUnpin for CommitInfo
impl UnwindSafe for CommitInfo
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