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 immutable accepted field identities implicated by the finding.
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.
Trait Implementations§
Source§impl Clone for ConstraintValidationFindingOutput
impl Clone for ConstraintValidationFindingOutput
Source§fn clone(&self) -> ConstraintValidationFindingOutput
fn clone(&self) -> ConstraintValidationFindingOutput
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<'de> Deserialize<'de> for ConstraintValidationFindingOutput
impl<'de> Deserialize<'de> for ConstraintValidationFindingOutput
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 ConstraintValidationFindingOutput
impl StructuralPartialEq for ConstraintValidationFindingOutput
Auto Trait Implementations§
impl Freeze for ConstraintValidationFindingOutput
impl RefUnwindSafe for ConstraintValidationFindingOutput
impl Send for ConstraintValidationFindingOutput
impl Sync for ConstraintValidationFindingOutput
impl Unpin for ConstraintValidationFindingOutput
impl UnsafeUnpin for ConstraintValidationFindingOutput
impl UnwindSafe for ConstraintValidationFindingOutput
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