pub struct ExcludeOperator {
pub schema: ObjectName,
pub op: Symbol,
pub spelling: NamedOperatorSpelling,
}Expand description
The WITH <operator> operator of an ExcludeElement — PostgreSQL any_operator, a bare
symbolic operator (&&, =, -|-) or the explicit OPERATOR(<schema>.<op>) keyword form.
Models the operator the same way NamedOperatorExpr does — an
optional schema qualification, the interned symbolic op, and a
spelling tag recording the bare-vs-OPERATOR(...) surface — so the source
form round-trips. A leaf node without meta: its span is subsumed by the owning
ExcludeElement, like DropBehavior.
Fields§
§schema: ObjectNameThe optional schema qualification (pg_catalog in OPERATOR(pg_catalog.=)); an empty
name for a bare or unqualified operator.
op: SymbolThe symbolic operator spelling (&&, =, -|-), interned exact-case.
spelling: NamedOperatorSpellingWhich surface spelled the operator — a bare && or the explicit OPERATOR(...) keyword.
Trait Implementations§
Source§impl Clone for ExcludeOperator
impl Clone for ExcludeOperator
Source§fn clone(&self) -> ExcludeOperator
fn clone(&self) -> ExcludeOperator
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExcludeOperator
impl Debug for ExcludeOperator
Source§impl<'de> Deserialize<'de> for ExcludeOperator
impl<'de> Deserialize<'de> for ExcludeOperator
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>,
impl Eq for ExcludeOperator
Source§impl Hash for ExcludeOperator
impl Hash for ExcludeOperator
Source§impl PartialEq for ExcludeOperator
impl PartialEq for ExcludeOperator
Source§impl Render for ExcludeOperator
impl Render for ExcludeOperator
Source§fn render(&self, ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read more