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§
Source§impl<'de> Deserialize<'de> for BlameLine
impl<'de> Deserialize<'de> for BlameLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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