pub struct BlameLine {
pub hash: String,
pub author: String,
pub date: String,
pub summary: String,
}Expand description
One line’s git blame attribution: the short commit hash, author name,
YYYY-MM-DD authored date, and the commit summary.
Fields§
§hash: StringAbbreviated commit hash (8 hex chars), or all-zero for uncommitted lines.
Author name (e.g. Not Committed Yet for unsaved/unstaged lines).
date: StringAuthored date as YYYY-MM-DD, in the author’s own time zone.
summary: StringFirst line of the commit message.
Implementations§
Trait Implementations§
impl Eq for BlameLine
impl StructuralPartialEq for BlameLine
Auto Trait Implementations§
impl Freeze for BlameLine
impl RefUnwindSafe for BlameLine
impl Send for BlameLine
impl Sync for BlameLine
impl Unpin for BlameLine
impl UnsafeUnpin for BlameLine
impl UnwindSafe for BlameLine
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