Struct sea_schema::postgres::def::Exclusion
source · pub struct Exclusion {
pub name: String,
pub using: String,
pub columns: Vec<String>,
pub operation: String,
}Available 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: StringTrait Implementations§
source§impl PartialEq for Exclusion
impl PartialEq for Exclusion
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§
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