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§
Source§impl<'de> Deserialize<'de> for LogRow
impl<'de> Deserialize<'de> for LogRow
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 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