pub struct ParsedCommit {
pub id: SHA1,
pub when: Timespec,
pub deltas: Vec<FileDelta>,
}
Expand description
Info about a commit pulled from git log
(or at least the bits we care about)
Fields§
§id: SHA1
§when: Timespec
The Unix timestamp (in seconds) of the commit
deltas: Vec<FileDelta>
Trait Implementations§
Source§impl Clone for ParsedCommit
impl Clone for ParsedCommit
Source§fn clone(&self) -> ParsedCommit
fn clone(&self) -> ParsedCommit
Returns a copy of the value. Read more
1.0.0 · 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 ParsedCommit
impl Debug for ParsedCommit
Source§impl Default for ParsedCommit
impl Default for ParsedCommit
Source§fn default() -> ParsedCommit
fn default() -> ParsedCommit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParsedCommit
impl RefUnwindSafe for ParsedCommit
impl Send for ParsedCommit
impl Sync for ParsedCommit
impl Unpin for ParsedCommit
impl UnwindSafe for ParsedCommit
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