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<'de> Deserialize<'de> for ExcludeConstraintOperator
impl<'de> Deserialize<'de> for ExcludeConstraintOperator
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 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
Source§impl PartialEq for ExcludeConstraintOperator
impl PartialEq for ExcludeConstraintOperator
Source§fn eq(&self, other: &ExcludeConstraintOperator) -> bool
fn eq(&self, other: &ExcludeConstraintOperator) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExcludeConstraintOperator
impl PartialOrd for ExcludeConstraintOperator
impl StructuralPartialEq for ExcludeConstraintOperator
Source§impl Visit for ExcludeConstraintOperator
impl Visit for ExcludeConstraintOperator
Source§impl VisitMut for ExcludeConstraintOperator
impl VisitMut for ExcludeConstraintOperator
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreAuto 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