pub struct IntegrityFinding { /* private fields */ }Expand description
One bounded machine-readable integrity finding.
Raw row payloads and unbounded application values are deliberately absent.
Implementations§
Source§impl IntegrityFinding
impl IntegrityFinding
Sourcepub const fn diagnostic_code(&self) -> u16
pub const fn diagnostic_code(&self) -> u16
Return the stable compact diagnostic code.
Sourcepub const fn class(&self) -> IntegrityFindingClass
pub const fn class(&self) -> IntegrityFindingClass
Return the broad finding class.
Sourcepub const fn severity(&self) -> IntegritySeverity
pub const fn severity(&self) -> IntegritySeverity
Return the finding severity.
Sourcepub const fn kind(&self) -> IntegrityFindingKind
pub const fn kind(&self) -> IntegrityFindingKind
Return the stable semantic finding family.
Sourcepub const fn entity(&self) -> &IntegrityEntityIdentity
pub const fn entity(&self) -> &IntegrityEntityIdentity
Borrow the accepted entity identity.
Sourcepub const fn store_path(&self) -> &str
pub const fn store_path(&self) -> &str
Borrow the affected store path.
Sourcepub const fn phase(&self) -> IntegrityPhase
pub const fn phase(&self) -> IntegrityPhase
Return the Deep phase that observed this finding.
Sourcepub const fn verifier_family(&self) -> IntegrityVerifierFamily
pub const fn verifier_family(&self) -> IntegrityVerifierFamily
Return the deterministic verifier family that observed this finding.
Sourcepub const fn physical_key(&self) -> &[u8] ⓘ
pub const fn physical_key(&self) -> &[u8] ⓘ
Borrow the bounded exact physical key.
Sourcepub fn primary_key(&self) -> Option<&[u8]>
pub fn primary_key(&self) -> Option<&[u8]>
Borrow the canonical primary-key suffix after successful key decoding.
Sourcepub const fn field_paths(&self) -> &[String]
pub const fn field_paths(&self) -> &[String]
Borrow bounded accepted field paths relevant to the finding.
Sourcepub const fn constraint_id(&self) -> Option<u32>
pub const fn constraint_id(&self) -> Option<u32>
Return the accepted constraint identity when applicable.
Sourcepub fn constraint_name(&self) -> Option<&str>
pub fn constraint_name(&self) -> Option<&str>
Borrow the accepted constraint name when applicable.
Sourcepub const fn schema_index_id(&self) -> Option<u32>
pub const fn schema_index_id(&self) -> Option<u32>
Return the accepted logical index identity when applicable.
Sourcepub const fn relation_id(&self) -> Option<u32>
pub const fn relation_id(&self) -> Option<u32>
Return the accepted relation identity when applicable.
Trait Implementations§
Source§impl CandidType for IntegrityFinding
impl CandidType for IntegrityFinding
Source§impl Clone for IntegrityFinding
impl Clone for IntegrityFinding
Source§fn clone(&self) -> IntegrityFinding
fn clone(&self) -> IntegrityFinding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more