pub struct SemanticReplayDecision {
pub evaluation_id: String,
pub task_id: String,
pub replay_decision: bool,
pub equivalence_explanation: Option<EquivalenceExplanation>,
pub reason_code: SemanticReplayReasonCode,
pub summary: String,
pub fail_closed: bool,
}Expand description
Decision produced by semantic replay evaluation.
Consumers must check replay_decision and fail_closed before attempting
any replay operation. When fail_closed is true, replay must not proceed
regardless of replay_decision.
Fields§
§evaluation_id: StringUnique identifier for this evaluation.
task_id: StringThe task identifier being evaluated.
replay_decision: boolWhether semantic replay is permitted for this task.
equivalence_explanation: Option<EquivalenceExplanation>The equivalence explanation that drove the decision, if any.
reason_code: SemanticReplayReasonCodeThe reason code for this decision.
summary: StringHuman-readable decision summary.
fail_closed: boolSafety gate. When true, replay must be blocked regardless of
replay_decision.
Trait Implementations§
Source§impl Clone for SemanticReplayDecision
impl Clone for SemanticReplayDecision
Source§fn clone(&self) -> SemanticReplayDecision
fn clone(&self) -> SemanticReplayDecision
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 SemanticReplayDecision
impl Debug for SemanticReplayDecision
Source§impl<'de> Deserialize<'de> for SemanticReplayDecision
impl<'de> Deserialize<'de> for SemanticReplayDecision
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticReplayDecision, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticReplayDecision, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SemanticReplayDecision
impl PartialEq for SemanticReplayDecision
Source§impl Serialize for SemanticReplayDecision
impl Serialize for SemanticReplayDecision
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SemanticReplayDecision
impl StructuralPartialEq for SemanticReplayDecision
Auto Trait Implementations§
impl Freeze for SemanticReplayDecision
impl RefUnwindSafe for SemanticReplayDecision
impl Send for SemanticReplayDecision
impl Sync for SemanticReplayDecision
impl Unpin for SemanticReplayDecision
impl UnsafeUnpin for SemanticReplayDecision
impl UnwindSafe for SemanticReplayDecision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.