pub struct Commit {
pub sha: String,
pub ts: i64,
pub name: String,
pub email: String,
pub coauthors: Vec<(String, String)>,
pub src: u32,
}Expand description
A single commit as parsed from git log.
Fields§
§sha: String§ts: i64§name: String§email: String(name, email) of each Co-authored-by trailer on the commit.
src: u32Index of the source this commit came from (see analyze_many). 0 for a
single-source run.
Trait Implementations§
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