pub struct BlameLine {
pub sha: String,
pub author: String,
pub age: String,
pub ts: i64,
}Expand description
One line of a whole-file blame (0001 pillar 3.3, the toggleable
column). age is rendered at parse time; ts keeps “recent”
honest for the caller’s coloring.
Fields§
§sha: String§age: StringHuman short form (“3h”, “2d”, “5mo”); “now” when uncommitted.
ts: i64Author time, unix seconds (0 = uncommitted).
Implementations§
Trait Implementations§
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