pub struct ValidationSuccess {
pub schema_id: OutputSchemaId,
pub schema_version: SchemaVersion,
pub schema_fingerprint: ContentHash,
pub validation_attempt_id: ValidationAttemptId,
pub source_attempt_id: AttemptId,
pub candidate_content_ref: ContentRef,
pub canonical_value: Value,
pub privacy: PrivacyClass,
pub record: ValidationRecord,
}Expand description
Holds validation success application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§schema_id: OutputSchemaIdStable schema id used for typed lineage, lookup, or dedupe.
schema_version: SchemaVersionWire schema version used for compatibility checks.
schema_fingerprint: ContentHashDeterministic schema fingerprint used for stale checks, package evidence, or replay comparisons.
validation_attempt_id: ValidationAttemptIdStable validation attempt id used for typed lineage, lookup, or dedupe.
source_attempt_id: AttemptIdStable source attempt id used for typed lineage, lookup, or dedupe.
candidate_content_ref: ContentRefContent reference for the candidate value being validated.
canonical_value: ValueCanonical value used by this record or request.
privacy: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
record: ValidationRecordRecord used by this record or request.
Trait Implementations§
Source§impl Clone for ValidationSuccess
impl Clone for ValidationSuccess
Source§fn clone(&self) -> ValidationSuccess
fn clone(&self) -> ValidationSuccess
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ValidationSuccess
impl Debug for ValidationSuccess
Source§impl<'de> Deserialize<'de> for ValidationSuccess
impl<'de> Deserialize<'de> for ValidationSuccess
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>,
Source§impl PartialEq for ValidationSuccess
impl PartialEq for ValidationSuccess
Source§fn eq(&self, other: &ValidationSuccess) -> bool
fn eq(&self, other: &ValidationSuccess) -> bool
self and other values to be equal, and is used by ==.