Struct ForeignKeyAudit
pub struct ForeignKeyAudit {
pub violations: Vec<ForeignKeyViolation>,
pub truncated: bool,
}Expand description
The result of a foreign_key_check pass.
Fields§
§violations: Vec<ForeignKeyViolation>Violating rows, up to the caller’s cap.
truncated: boolTrue when the cap was reached and the scan stopped early — the file has at least this many violations, not exactly this many.
Implementations§
§impl ForeignKeyAudit
impl ForeignKeyAudit
Trait Implementations§
§impl Clone for ForeignKeyAudit
impl Clone for ForeignKeyAudit
§fn clone(&self) -> ForeignKeyAudit
fn clone(&self) -> ForeignKeyAudit
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 more§impl Debug for ForeignKeyAudit
impl Debug for ForeignKeyAudit
§impl Default for ForeignKeyAudit
impl Default for ForeignKeyAudit
§fn default() -> ForeignKeyAudit
fn default() -> ForeignKeyAudit
Returns the “default value” for a type. Read more
§impl PartialEq for ForeignKeyAudit
impl PartialEq for ForeignKeyAudit
impl Eq for ForeignKeyAudit
impl StructuralPartialEq for ForeignKeyAudit
Auto Trait Implementations§
impl Freeze for ForeignKeyAudit
impl RefUnwindSafe for ForeignKeyAudit
impl Send for ForeignKeyAudit
impl Sync for ForeignKeyAudit
impl Unpin for ForeignKeyAudit
impl UnsafeUnpin for ForeignKeyAudit
impl UnwindSafe for ForeignKeyAudit
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
Checks if this value is equivalent to the given key. Read more
§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
§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.