pub struct QuarantineRecord {
pub op_kind: String,
pub reason: String,
pub ontology_hash: String,
}Expand description
Why an entry was quarantined (S1).
The validators produce a precise diagnosis — type name, property, expected type, allowed set, constraint name — and every quarantine site used to drop it one line before the operator needed it, leaving a bare hash and no way to tell an unknown type from a constraint violation.
Fields§
§op_kind: StringThe operation kind that was rejected, e.g. “add_node”.
reason: StringThe validator’s own message.
ontology_hash: StringHex content hash of the ontology this decision was made against, so a stale diagnosis is recognizable after the schema moves.
Trait Implementations§
Source§impl Clone for QuarantineRecord
impl Clone for QuarantineRecord
Source§fn clone(&self) -> QuarantineRecord
fn clone(&self) -> QuarantineRecord
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 QuarantineRecord
impl Debug for QuarantineRecord
Source§impl PartialEq for QuarantineRecord
impl PartialEq for QuarantineRecord
impl StructuralPartialEq for QuarantineRecord
Auto Trait Implementations§
impl Freeze for QuarantineRecord
impl RefUnwindSafe for QuarantineRecord
impl Send for QuarantineRecord
impl Sync for QuarantineRecord
impl Unpin for QuarantineRecord
impl UnsafeUnpin for QuarantineRecord
impl UnwindSafe for QuarantineRecord
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