pub struct SnapshotCoherenceReport {
pub violations: Vec<SnapshotCoherenceViolation>,
}Expand description
Result of evaluating all registered snapshot coherence rules.
Fields§
§violations: Vec<SnapshotCoherenceViolation>Violations returned by the active rule set.
Implementations§
Source§impl SnapshotCoherenceReport
impl SnapshotCoherenceReport
Sourcepub const fn has_violations(&self) -> bool
pub const fn has_violations(&self) -> bool
Return true when any coherence rule was violated.
Trait Implementations§
Source§impl Clone for SnapshotCoherenceReport
impl Clone for SnapshotCoherenceReport
Source§fn clone(&self) -> SnapshotCoherenceReport
fn clone(&self) -> SnapshotCoherenceReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnapshotCoherenceReport
impl Debug for SnapshotCoherenceReport
Source§impl Default for SnapshotCoherenceReport
impl Default for SnapshotCoherenceReport
Source§fn default() -> SnapshotCoherenceReport
fn default() -> SnapshotCoherenceReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotCoherenceReport
impl<'de> Deserialize<'de> for SnapshotCoherenceReport
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
Source§impl PartialEq for SnapshotCoherenceReport
impl PartialEq for SnapshotCoherenceReport
Source§impl Serialize for SnapshotCoherenceReport
impl Serialize for SnapshotCoherenceReport
impl Eq for SnapshotCoherenceReport
impl StructuralPartialEq for SnapshotCoherenceReport
Auto Trait Implementations§
impl Freeze for SnapshotCoherenceReport
impl RefUnwindSafe for SnapshotCoherenceReport
impl Send for SnapshotCoherenceReport
impl Sync for SnapshotCoherenceReport
impl Unpin for SnapshotCoherenceReport
impl UnsafeUnpin for SnapshotCoherenceReport
impl UnwindSafe for SnapshotCoherenceReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more