pub struct ExcludeConstraintElement {
pub column: IndexColumn,
pub operator: ExcludeConstraintOperator,
}Expand description
One element in an EXCLUDE constraint’s element list.
Fields§
§column: IndexColumnThe index column ({ column_name | ( expression ) } [ opclass ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ]).
operator: ExcludeConstraintOperatorThe exclusion operator.
Trait Implementations§
Source§impl Clone for ExcludeConstraintElement
impl Clone for ExcludeConstraintElement
Source§fn clone(&self) -> ExcludeConstraintElement
fn clone(&self) -> ExcludeConstraintElement
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 ExcludeConstraintElement
impl Debug for ExcludeConstraintElement
Source§impl<'de> Deserialize<'de> for ExcludeConstraintElement
impl<'de> Deserialize<'de> for ExcludeConstraintElement
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 ExcludeConstraintElement
impl Display for ExcludeConstraintElement
impl Eq for ExcludeConstraintElement
Source§impl Hash for ExcludeConstraintElement
impl Hash for ExcludeConstraintElement
Source§impl Ord for ExcludeConstraintElement
impl Ord for ExcludeConstraintElement
Source§fn cmp(&self, other: &ExcludeConstraintElement) -> Ordering
fn cmp(&self, other: &ExcludeConstraintElement) -> 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 ExcludeConstraintElement
impl PartialEq for ExcludeConstraintElement
Source§fn eq(&self, other: &ExcludeConstraintElement) -> bool
fn eq(&self, other: &ExcludeConstraintElement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExcludeConstraintElement
impl PartialOrd for ExcludeConstraintElement
Source§impl Serialize for ExcludeConstraintElement
impl Serialize for ExcludeConstraintElement
Source§impl Spanned for ExcludeConstraintElement
impl Spanned for ExcludeConstraintElement
impl StructuralPartialEq for ExcludeConstraintElement
Source§impl Visit for ExcludeConstraintElement
impl Visit for ExcludeConstraintElement
Source§impl VisitMut for ExcludeConstraintElement
impl VisitMut for ExcludeConstraintElement
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 ExcludeConstraintElement
impl RefUnwindSafe for ExcludeConstraintElement
impl Send for ExcludeConstraintElement
impl Sync for ExcludeConstraintElement
impl Unpin for ExcludeConstraintElement
impl UnsafeUnpin for ExcludeConstraintElement
impl UnwindSafe for ExcludeConstraintElement
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