pub struct RelationalIntegrityCheckData {
pub parent_name: Option<String>,
pub child_name: Option<String>,
pub parent_id_attr: Option<String>,
pub child_id_attr: Option<String>,
pub records: Option<Vec<OrphanedRecord>>,
}
Expand description
RelationalIntegrityCheckData : an object containing the results of a relational integrity check.
Fields§
§parent_name: Option<String>
the name of the parent relation (table).
child_name: Option<String>
the name of the child relation (table).
parent_id_attr: Option<String>
the name of the attribute (column) containing the parent id.
child_id_attr: Option<String>
the name of the attribute (column) containing the child id.
records: Option<Vec<OrphanedRecord>>
the list of orphaned records found.
Implementations§
Source§impl RelationalIntegrityCheckData
impl RelationalIntegrityCheckData
Sourcepub fn new() -> RelationalIntegrityCheckData
pub fn new() -> RelationalIntegrityCheckData
an object containing the results of a relational integrity check.
Trait Implementations§
Source§impl Clone for RelationalIntegrityCheckData
impl Clone for RelationalIntegrityCheckData
Source§fn clone(&self) -> RelationalIntegrityCheckData
fn clone(&self) -> RelationalIntegrityCheckData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RelationalIntegrityCheckData
impl Debug for RelationalIntegrityCheckData
Source§impl Default for RelationalIntegrityCheckData
impl Default for RelationalIntegrityCheckData
Source§fn default() -> RelationalIntegrityCheckData
fn default() -> RelationalIntegrityCheckData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelationalIntegrityCheckData
impl<'de> Deserialize<'de> for RelationalIntegrityCheckData
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 RelationalIntegrityCheckData
impl PartialEq for RelationalIntegrityCheckData
Source§fn eq(&self, other: &RelationalIntegrityCheckData) -> bool
fn eq(&self, other: &RelationalIntegrityCheckData) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RelationalIntegrityCheckData
Auto Trait Implementations§
impl Freeze for RelationalIntegrityCheckData
impl RefUnwindSafe for RelationalIntegrityCheckData
impl Send for RelationalIntegrityCheckData
impl Sync for RelationalIntegrityCheckData
impl Unpin for RelationalIntegrityCheckData
impl UnwindSafe for RelationalIntegrityCheckData
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