Struct pgx_utils::sql_entity_graph::PgOperator
source · pub struct PgOperator {
pub opname: Option<PgxOperatorOpName>,
pub commutator: Option<PgxOperatorAttributeWithIdent>,
pub negator: Option<PgxOperatorAttributeWithIdent>,
pub restrict: Option<PgxOperatorAttributeWithIdent>,
pub join: Option<PgxOperatorAttributeWithIdent>,
pub hashes: bool,
pub merges: bool,
}
Expand description
A parsed #[pg_operator]
operator.
It is created during PgExtern
parsing.
Fields§
§opname: Option<PgxOperatorOpName>
§commutator: Option<PgxOperatorAttributeWithIdent>
§negator: Option<PgxOperatorAttributeWithIdent>
§restrict: Option<PgxOperatorAttributeWithIdent>
§join: Option<PgxOperatorAttributeWithIdent>
§hashes: bool
§merges: bool
Trait 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