pub struct DivergenceRecord {
pub mission_id: String,
pub unit: String,
pub noted_seq: u64,
pub diverged: bool,
pub candidates: Vec<DivergenceCandidate>,
pub resolution: Option<DivergenceResolution>,
}Expand description
One divergence.noted, paired with its resolution: the comparison
record (every candidate ref verbatim — the run ids and branches the
judgement chose between) plus the judgement that landed, or null
while the unit awaits one. diverged: false is the agreement record:
logged, never trusted — it exports like any other noted, the consumer
decides what to learn from it.
Fields§
§mission_id: String§unit: String§noted_seq: u64The noted event’s seq — the record’s own position in the log and its join key into the replay.
diverged: bool§candidates: Vec<DivergenceCandidate>§resolution: Option<DivergenceResolution>Trait Implementations§
Source§impl Clone for DivergenceRecord
impl Clone for DivergenceRecord
Source§fn clone(&self) -> DivergenceRecord
fn clone(&self) -> DivergenceRecord
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 DivergenceRecord
impl Debug for DivergenceRecord
Source§impl<'de> Deserialize<'de> for DivergenceRecord
impl<'de> Deserialize<'de> for DivergenceRecord
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 DivergenceRecord
impl PartialEq for DivergenceRecord
Source§impl Serialize for DivergenceRecord
impl Serialize for DivergenceRecord
impl StructuralPartialEq for DivergenceRecord
Auto Trait Implementations§
impl Freeze for DivergenceRecord
impl RefUnwindSafe for DivergenceRecord
impl Send for DivergenceRecord
impl Sync for DivergenceRecord
impl Unpin for DivergenceRecord
impl UnsafeUnpin for DivergenceRecord
impl UnwindSafe for DivergenceRecord
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