pub struct ConstraintFrame {
pub name: String,
pub constraint_type: u8,
pub columns: Vec<String>,
pub ref_table: Option<String>,
pub ref_columns: Option<Vec<String>>,
}Expand description
A decoded constraint definition.
Fields§
§name: String§constraint_type: u8§columns: Vec<String>§ref_table: Option<String>§ref_columns: Option<Vec<String>>Trait Implementations§
Source§impl Clone for ConstraintFrame
impl Clone for ConstraintFrame
Source§fn clone(&self) -> ConstraintFrame
fn clone(&self) -> ConstraintFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConstraintFrame
impl Debug for ConstraintFrame
impl Eq for ConstraintFrame
Source§impl PartialEq for ConstraintFrame
impl PartialEq for ConstraintFrame
Source§fn eq(&self, other: &ConstraintFrame) -> bool
fn eq(&self, other: &ConstraintFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstraintFrame
Auto Trait Implementations§
impl Freeze for ConstraintFrame
impl RefUnwindSafe for ConstraintFrame
impl Send for ConstraintFrame
impl Sync for ConstraintFrame
impl Unpin for ConstraintFrame
impl UnsafeUnpin for ConstraintFrame
impl UnwindSafe for ConstraintFrame
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