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§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
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
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