pub struct ExclusionElement {
pub expr: Expr,
pub operator: String,
}Expand description
One element in an EXCLUDE constraint’s element list:
<expr> WITH <operator>
Fields§
§expr: ExprThe column or expression to exclude on.
operator: StringThe operator to use for the exclusion check (e.g. =, &&).
Trait Implementations§
Source§impl Clone for ExclusionElement
impl Clone for ExclusionElement
Source§fn clone(&self) -> ExclusionElement
fn clone(&self) -> ExclusionElement
Returns a duplicate of the value. Read more
1.0.0 · 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 ExclusionElement
impl Debug for ExclusionElement
Source§impl<'de> Deserialize<'de> for ExclusionElement
impl<'de> Deserialize<'de> for ExclusionElement
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 ExclusionElement
impl Display for ExclusionElement
Source§impl Hash for ExclusionElement
impl Hash for ExclusionElement
Source§impl Ord for ExclusionElement
impl Ord for ExclusionElement
Source§fn cmp(&self, other: &ExclusionElement) -> Ordering
fn cmp(&self, other: &ExclusionElement) -> Ordering
1.21.0 · 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 ExclusionElement
impl PartialEq for ExclusionElement
Source§impl PartialOrd for ExclusionElement
impl PartialOrd for ExclusionElement
Source§impl Serialize for ExclusionElement
impl Serialize for ExclusionElement
Source§impl Visit for ExclusionElement
impl Visit for ExclusionElement
Source§impl VisitMut for ExclusionElement
impl VisitMut for ExclusionElement
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 moreimpl Eq for ExclusionElement
impl StructuralPartialEq for ExclusionElement
Auto Trait Implementations§
impl Freeze for ExclusionElement
impl RefUnwindSafe for ExclusionElement
impl Send for ExclusionElement
impl Sync for ExclusionElement
impl Unpin for ExclusionElement
impl UnsafeUnpin for ExclusionElement
impl UnwindSafe for ExclusionElement
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