pub enum FactEventKind {
Asserted,
Reinforced {
by: FactId,
},
Contradicted {
by: FactId,
basis: ContradictionBasis,
},
Superseded {
by: FactId,
reason: SupersessionReason,
},
Expired {
reason: ExpirationReason,
},
Retracted {
reason: RetractionReason,
},
Retrieved {
purpose: String,
},
UsedInDecision {
decision_id: String,
},
ChallengeRejected {
challenge: ChallengeKind,
by: Option<FactId>,
rejection: ChallengeRejection,
},
}Variants§
Asserted
Reinforced
Contradicted
Superseded
Expired
Fields
§
reason: ExpirationReasonRetracted
Fields
§
reason: RetractionReasonRetrieved
UsedInDecision
ChallengeRejected
A challenge against this fact was rejected by the firewall (ADR 0015). Written to the incumbent’s stream with the challenger’s provenance and effective authority, so surviving it is replayable, attributed entrenchment evidence.
Fields
§
challenge: ChallengeKind§
by: Option<FactId>The challenging fact, when the challenge named one (a supersession’s replacement, a contradiction’s contradictor).
§
rejection: ChallengeRejectionImplementations§
Source§impl FactEventKind
impl FactEventKind
Trait Implementations§
Source§impl Clone for FactEventKind
impl Clone for FactEventKind
Source§fn clone(&self) -> FactEventKind
fn clone(&self) -> FactEventKind
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 FactEventKind
impl Debug for FactEventKind
Source§impl<'de> Deserialize<'de> for FactEventKind
impl<'de> Deserialize<'de> for FactEventKind
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
impl Eq for FactEventKind
Source§impl PartialEq for FactEventKind
impl PartialEq for FactEventKind
Source§impl Serialize for FactEventKind
impl Serialize for FactEventKind
impl StructuralPartialEq for FactEventKind
Auto Trait Implementations§
impl Freeze for FactEventKind
impl RefUnwindSafe for FactEventKind
impl Send for FactEventKind
impl Sync for FactEventKind
impl Unpin for FactEventKind
impl UnsafeUnpin for FactEventKind
impl UnwindSafe for FactEventKind
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