pub enum ExcludeConstraintOperator {
Token(String),
PGOperator(Vec<String>),
}Expand description
The operator that follows WITH in an EXCLUDE constraint element.
Variants§
Token(String)
A single operator token, e.g. =, &&, <->.
PGOperator(Vec<String>)
Postgres schema-qualified form: OPERATOR(schema.op).
Trait Implementations§
Source§impl Clone for ExcludeConstraintOperator
impl Clone for ExcludeConstraintOperator
Source§fn clone(&self) -> ExcludeConstraintOperator
fn clone(&self) -> ExcludeConstraintOperator
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 ExcludeConstraintOperator
impl Debug for ExcludeConstraintOperator
Source§impl Display for ExcludeConstraintOperator
impl Display for ExcludeConstraintOperator
impl Eq for ExcludeConstraintOperator
Source§impl Hash for ExcludeConstraintOperator
impl Hash for ExcludeConstraintOperator
Source§impl Ord for ExcludeConstraintOperator
impl Ord for ExcludeConstraintOperator
Source§fn cmp(&self, other: &ExcludeConstraintOperator) -> Ordering
fn cmp(&self, other: &ExcludeConstraintOperator) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ExcludeConstraintOperator
impl PartialOrd for ExcludeConstraintOperator
impl StructuralPartialEq for ExcludeConstraintOperator
Auto Trait Implementations§
impl Freeze for ExcludeConstraintOperator
impl RefUnwindSafe for ExcludeConstraintOperator
impl Send for ExcludeConstraintOperator
impl Sync for ExcludeConstraintOperator
impl Unpin for ExcludeConstraintOperator
impl UnsafeUnpin for ExcludeConstraintOperator
impl UnwindSafe for ExcludeConstraintOperator
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