pub struct Exclusion {
pub name: String,
pub using: String,
pub columns: Vec<String>,
pub operation: String,
}
This is supported on crate features
postgres
and def
only.Expand description
A constraint that ensures that, if any two rows are compared on the specified columns or expressions using the specified operators, at least one of these operator comparisons returns false or null
Fields
name: String
using: String
columns: Vec<String>
operation: String
Trait Implementations
impl StructuralPartialEq for Exclusion
Auto Trait Implementations
impl RefUnwindSafe for Exclusion
impl Send for Exclusion
impl Sync for Exclusion
impl Unpin for Exclusion
impl UnwindSafe for Exclusion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more