Struct pgrx_sql_entity_graph::PgOperator 
source · pub struct PgOperator {
    pub opname: Option<PgrxOperatorOpName>,
    pub commutator: Option<PgrxOperatorAttributeWithIdent>,
    pub negator: Option<PgrxOperatorAttributeWithIdent>,
    pub restrict: Option<PgrxOperatorAttributeWithIdent>,
    pub join: Option<PgrxOperatorAttributeWithIdent>,
    pub hashes: bool,
    pub merges: bool,
}Expand description
A parsed #[pg_operator] operator.
It is created during PgExtern parsing.
Fields§
§opname: Option<PgrxOperatorOpName>§commutator: Option<PgrxOperatorAttributeWithIdent>§negator: Option<PgrxOperatorAttributeWithIdent>§restrict: Option<PgrxOperatorAttributeWithIdent>§join: Option<PgrxOperatorAttributeWithIdent>§hashes: bool§merges: boolTrait Implementations§
source§impl Clone for PgOperator
 
impl Clone for PgOperator
source§fn clone(&self) -> PgOperator
 
fn clone(&self) -> PgOperator
Returns a copy 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 PgOperator
 
impl Debug for PgOperator
source§impl Default for PgOperator
 
impl Default for PgOperator
source§fn default() -> PgOperator
 
fn default() -> PgOperator
Returns the “default value” for a type. Read more
source§impl ToTokens for PgOperator
 
impl ToTokens for PgOperator
source§fn to_tokens(&self, tokens: &mut TokenStream2)
 
fn to_tokens(&self, tokens: &mut TokenStream2)
source§fn to_token_stream(&self) -> TokenStream
 
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
    Self: Sized,
 
fn into_token_stream(self) -> TokenStreamwhere
    Self: Sized,
Auto Trait Implementations§
impl Freeze for PgOperator
impl RefUnwindSafe for PgOperator
impl !Send for PgOperator
impl !Sync for PgOperator
impl Unpin for PgOperator
impl UnwindSafe for PgOperator
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
source§impl<T> Spanned for Twhere
    T: Spanned + ?Sized,
 
impl<T> Spanned for Twhere
    T: Spanned + ?Sized,
source§fn span(&self) -> Span
 
fn span(&self) -> Span
Returns a 
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.