pub struct HistoryCommit { /* private fields */ }Expand description
Compact facts for one commit. The callback receiving this value finishes before the next commit is parsed.
Implementations§
Source§impl HistoryCommit
impl HistoryCommit
pub fn contributor(&self) -> &ContributorIdentity
Sourcepub const fn timestamp(&self) -> i64
pub const fn timestamp(&self) -> i64
The moment the commit landed on the analyzed history — the committer date in whole seconds since the epoch — not when it was authored.
pub fn changes(&self) -> &[HistoryChange]
Trait Implementations§
Source§impl Clone for HistoryCommit
impl Clone for HistoryCommit
Source§impl Debug for HistoryCommit
impl Debug for HistoryCommit
impl Eq for HistoryCommit
Source§impl PartialEq for HistoryCommit
impl PartialEq for HistoryCommit
impl StructuralPartialEq for HistoryCommit
Auto Trait Implementations§
impl Freeze for HistoryCommit
impl RefUnwindSafe for HistoryCommit
impl Send for HistoryCommit
impl Sync for HistoryCommit
impl Unpin for HistoryCommit
impl UnsafeUnpin for HistoryCommit
impl UnwindSafe for HistoryCommit
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