pub enum ResolutionEvent {
EntityCreated {
entity_id: EntityId,
record_ids: Vec<RecordId>,
},
RecordsAdded {
entity_id: EntityId,
record_ids: Vec<RecordId>,
method: ResolutionMethod,
},
EntityMerged {
source_a: EntityId,
source_b: EntityId,
into: EntityId,
},
EntitySplit {
source: EntityId,
into: Vec<EntityId>,
},
JudgeApplied {
entity_id: EntityId,
pair: (RecordId, RecordId),
verdict: String,
},
}Expand description
Events written to the resolution_events table to provide an audit trail
for every structural change to the entity store.
Variants§
Trait Implementations§
Source§impl Clone for ResolutionEvent
impl Clone for ResolutionEvent
Source§fn clone(&self) -> ResolutionEvent
fn clone(&self) -> ResolutionEvent
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 ResolutionEvent
impl Debug for ResolutionEvent
Source§impl<'de> Deserialize<'de> for ResolutionEvent
impl<'de> Deserialize<'de> for ResolutionEvent
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
Auto Trait Implementations§
impl Freeze for ResolutionEvent
impl RefUnwindSafe for ResolutionEvent
impl Send for ResolutionEvent
impl Sync for ResolutionEvent
impl Unpin for ResolutionEvent
impl UnsafeUnpin for ResolutionEvent
impl UnwindSafe for ResolutionEvent
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