pub struct LogRow {
pub text: String,
pub sha: Option<String>,
}Expand description
One log line from git log --graph, with the commit hash extracted.
Fields§
§text: StringThe rendered graph+summary line (what the buffer shows).
sha: Option<String>Full SHA when the line names a commit (graph-only lines: None).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogRow
impl RefUnwindSafe for LogRow
impl Send for LogRow
impl Sync for LogRow
impl Unpin for LogRow
impl UnsafeUnpin for LogRow
impl UnwindSafe for LogRow
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