pub struct TimelineDiff {
pub source: String,
pub target: String,
pub from_tick: u64,
pub to_tick: u64,
pub source_event_count: u64,
pub target_event_count: u64,
pub divergence_tick: Option<u64>,
pub mismatched_events: Vec<EventMismatch>,
pub determinism_verified: bool,
}Expand description
Structural diff result between two timelines over a tick range.
Fields§
§source: String§target: String§from_tick: u64§to_tick: u64§source_event_count: u64§target_event_count: u64§divergence_tick: Option<u64>The first tick at which the timelines diverge, if any.
mismatched_events: Vec<EventMismatch>All events where the digests differ at the same (tick, seq).
determinism_verified: boolTrue if all events in the overlap produced identical digests.
Trait Implementations§
Source§impl Clone for TimelineDiff
impl Clone for TimelineDiff
Source§fn clone(&self) -> TimelineDiff
fn clone(&self) -> TimelineDiff
Returns a duplicate of the value. Read more
1.0.0 · 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 TimelineDiff
impl Debug for TimelineDiff
Source§impl<'de> Deserialize<'de> for TimelineDiff
impl<'de> Deserialize<'de> for TimelineDiff
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
Source§impl PartialEq for TimelineDiff
impl PartialEq for TimelineDiff
Source§impl Serialize for TimelineDiff
impl Serialize for TimelineDiff
impl StructuralPartialEq for TimelineDiff
Auto Trait Implementations§
impl Freeze for TimelineDiff
impl RefUnwindSafe for TimelineDiff
impl Send for TimelineDiff
impl Sync for TimelineDiff
impl Unpin for TimelineDiff
impl UnsafeUnpin for TimelineDiff
impl UnwindSafe for TimelineDiff
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