pub struct ConstraintValidationFindingOutput { /* private fields */ }Expand description
ConstraintValidationFindingOutput
Bounded historical validation evidence returned only by explicit schema validation operations. Names are resolved by host tooling from the exact accepted fingerprint and immutable numeric identities.
Implementations§
Source§impl ConstraintValidationFindingOutput
impl ConstraintValidationFindingOutput
Sourcepub const fn accepted_schema_fingerprint(&self) -> [u8; 16]
pub const fn accepted_schema_fingerprint(&self) -> [u8; 16]
Return the exact accepted-schema fingerprint that binds every numeric identity.
Sourcepub const fn entity_tag(&self) -> u64
pub const fn entity_tag(&self) -> u64
Return the stable accepted entity identity.
Sourcepub const fn constraint_id(&self) -> u32
pub const fn constraint_id(&self) -> u32
Return the stable accepted constraint identity.
Sourcepub const fn primary_key(&self) -> &[u8] ⓘ
pub const fn primary_key(&self) -> &[u8] ⓘ
Borrow the bounded canonical persisted primary-key locator.
Sourcepub const fn field_ids(&self) -> &[u32]
pub const fn field_ids(&self) -> &[u32]
Borrow up to 32 immutable accepted field identities implicated by the finding. Wider checks retain the first 32 identities in ascending order; this is bounded diagnostic evidence, not the complete check dependency set.
Sourcepub const fn value_path(&self) -> Option<&ConstraintValuePath>
pub const fn value_path(&self) -> Option<&ConstraintValuePath>
Borrow the typed concrete value path for a targeted-rule violation.
Sourcepub const fn error_code(&self) -> ErrorCode
pub const fn error_code(&self) -> ErrorCode
Return the compact stable error code for this exact failure.
Sourcepub const fn error_class(&self) -> ErrorClass
pub const fn error_class(&self) -> ErrorClass
Return the broad public error class derived from the compact code.