Skip to main content

IntegrityFinding

Struct IntegrityFinding 

Source
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

Source

pub const fn diagnostic_code(&self) -> u16

Return the stable compact diagnostic code.

Source

pub const fn class(&self) -> IntegrityFindingClass

Return the broad finding class.

Source

pub const fn severity(&self) -> IntegritySeverity

Return the finding severity.

Source

pub const fn kind(&self) -> IntegrityFindingKind

Return the stable semantic finding family.

Source

pub const fn entity(&self) -> &IntegrityEntityIdentity

Borrow the accepted entity identity.

Source

pub const fn store_path(&self) -> &str

Borrow the affected store path.

Source

pub const fn phase(&self) -> IntegrityPhase

Return the Deep phase that observed this finding.

Source

pub const fn verifier_family(&self) -> IntegrityVerifierFamily

Return the deterministic verifier family that observed this finding.

Source

pub const fn physical_key(&self) -> &[u8]

Borrow the bounded exact physical key.

Source

pub fn primary_key(&self) -> Option<&[u8]>

Borrow the canonical primary-key suffix after successful key decoding.

Source

pub const fn field_paths(&self) -> &[String]

Borrow bounded accepted field paths relevant to the finding.

Source

pub const fn constraint_id(&self) -> Option<u32>

Return the accepted constraint identity when applicable.

Source

pub fn constraint_name(&self) -> Option<&str>

Borrow the accepted constraint name when applicable.

Source

pub const fn schema_index_id(&self) -> Option<u32>

Return the accepted logical index identity when applicable.

Source

pub const fn relation_id(&self) -> Option<u32>

Return the accepted relation identity when applicable.

Source

pub fn expected(&self) -> Option<&str>

Borrow the bounded expected-state label, when applicable.

Source

pub fn observed(&self) -> Option<&str>

Borrow the bounded observed-state label, when applicable.

Trait Implementations§

Source§

impl CandidType for IntegrityFinding

Source§

fn _ty() -> Type

Source§

fn _ty_doc() -> TypeDoc

Source§

fn id() -> TypeId

Source§

fn idl_serialize<__S>(&self, __serializer: __S) -> Result<(), __S::Error>
where __S: Serializer,

Source§

fn ty() -> Type

Source§

impl Clone for IntegrityFinding

Source§

fn clone(&self) -> IntegrityFinding

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IntegrityFinding

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IntegrityFinding

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for IntegrityFinding

Source§

impl PartialEq for IntegrityFinding

Source§

fn eq(&self, other: &IntegrityFinding) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for IntegrityFinding

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V