pub struct LogEntry {
pub commit_id: String,
pub change_id: String,
pub author_name: String,
pub author_email: String,
pub description: String,
pub parents: Vec<String>,
pub local_bookmarks: Vec<String>,
pub remote_bookmarks: Vec<String>,
pub working_copy: WorkingCopy,
pub conflict: ConflictState,
pub content: ContentState,
}Expand description
A jj log entry parsed from jj template JSON output.
Not directly deserializable from jj’s JSON — use crate::parse_log_output
which handles the raw string booleans and populates the enum fields.
Fields§
§commit_id: String§change_id: String§description: String§parents: Vec<String>§local_bookmarks: Vec<String>§remote_bookmarks: Vec<String>§working_copy: WorkingCopy§conflict: ConflictState§content: ContentStateImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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