pub struct LogEntry {
pub id: CommitId,
pub seq: u64,
pub parents: Vec<CommitId>,
pub message: Option<String>,
pub op_count: usize,
pub key_count: usize,
}Expand description
One line of log output (DESIGN §4.2).
Fields§
§id: CommitIdThe commit’s content address.
seq: u64The commit’s sequence number on this branch.
parents: Vec<CommitId>The commit’s parents.
message: Option<String>The commit message, if one was given.
op_count: usizeHow many operations the commit’s change set holds.
key_count: usizeHow many keys the database held after this commit.
Trait Implementations§
Auto Trait Implementations§
impl Forget for LogEntry
impl Freeze for LogEntry
impl Move 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