pub struct EventSetParity {
pub jsonl_event_count: usize,
pub sqlite_event_count: usize,
pub missing_in_sqlite: Vec<EventId>,
pub missing_in_jsonl: Vec<EventId>,
pub mismatched: Vec<EventMismatch>,
}Expand description
Event-set parity report between JSONL and SQLite.
Fields§
§jsonl_event_count: usizeNumber of unique event ids read from JSONL.
sqlite_event_count: usizeNumber of event rows read from SQLite.
missing_in_sqlite: Vec<EventId>Event ids present in JSONL but missing from SQLite.
missing_in_jsonl: Vec<EventId>Event ids present in SQLite but missing from JSONL.
mismatched: Vec<EventMismatch>Event ids present in both stores with non-identical event rows.
Implementations§
Source§impl EventSetParity
impl EventSetParity
Sourcepub fn is_consistent(&self) -> bool
pub fn is_consistent(&self) -> bool
Returns true when both stores contain the same event ids and rows.
Trait Implementations§
Source§impl Clone for EventSetParity
impl Clone for EventSetParity
Source§fn clone(&self) -> EventSetParity
fn clone(&self) -> EventSetParity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventSetParity
impl Debug for EventSetParity
Source§impl PartialEq for EventSetParity
impl PartialEq for EventSetParity
Source§fn eq(&self, other: &EventSetParity) -> bool
fn eq(&self, other: &EventSetParity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EventSetParity
impl StructuralPartialEq for EventSetParity
Auto Trait Implementations§
impl Freeze for EventSetParity
impl RefUnwindSafe for EventSetParity
impl Send for EventSetParity
impl Sync for EventSetParity
impl Unpin for EventSetParity
impl UnsafeUnpin for EventSetParity
impl UnwindSafe for EventSetParity
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