pub struct PgOperator {Show 16 fields
pub oid: SmolStr,
pub oprname: SmolStr,
pub oprnamespace: SmolStr,
pub oprowner: SmolStr,
pub oprkind: PgOperatorOprkind,
pub oprcanmerge: bool,
pub oprcanhash: bool,
pub oprleft: Option<SmolStr>,
pub oprright: SmolStr,
pub oprresult: Option<SmolStr>,
pub oprcom: Option<SmolStr>,
pub oprnegate: Option<SmolStr>,
pub oprcode: Option<SmolStr>,
pub oprrest: Option<SmolStr>,
pub oprjoin: Option<SmolStr>,
pub description: Option<SmolStr>,
}Expand description
The DDL-only contents of pg_operator
Fields§
§oid: SmolStroid Row identifier
oprname: SmolStrname Name of the operator
oprnamespace: SmolStroid (references pg_namespace.oid) The OID of the namespace that contains this operator
oprowner: SmolStroid (references pg_authid.oid) Owner of the operator
oprkind: PgOperatorOprkindchar b = infix operator (“both”), or l = prefix operator (“left”)
oprcanmerge: boolbool This operator supports merge joins
oprcanhash: boolbool This operator supports hash joins
oprleft: Option<SmolStr>oid (references pg_type.oid) Type of the left operand (zero for a prefix operator)
oprright: SmolStroid (references pg_type.oid) Type of the right operand
oprresult: Option<SmolStr>oid (references pg_type.oid) Type of the result (zero for a not-yet-defined “shell” operator)
oprcom: Option<SmolStr>oid (references pg_operator.oid) Commutator of this operator (zero if none)
oprnegate: Option<SmolStr>oid (references pg_operator.oid) Negator of this operator (zero if none)
oprcode: Option<SmolStr>regproc (references pg_proc.oid) Function that implements this operator (zero for a not-yet-defined “shell” operator)
oprrest: Option<SmolStr>regproc (references pg_proc.oid) Restriction selectivity estimation function for this operator (zero if none)
oprjoin: Option<SmolStr>regproc (references pg_proc.oid) Join selectivity estimation function for this operator (zero if none)
description: Option<SmolStr>text The comment from pg_description
Trait Implementations§
Source§impl Clone for PgOperator
impl Clone for PgOperator
Source§fn clone(&self) -> PgOperator
fn clone(&self) -> PgOperator
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PgOperator
impl Debug for PgOperator
Source§impl<'de> Deserialize<'de> for PgOperator
impl<'de> Deserialize<'de> for PgOperator
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgOperator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgOperator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Equivalent<PgOperator> for SmolStr
impl Equivalent<PgOperator> for SmolStr
Source§fn equivalent(&self, key: &PgOperator) -> bool
fn equivalent(&self, key: &PgOperator) -> bool
key and return true if they are equal.Source§impl Equivalent<PgOperator> for str
impl Equivalent<PgOperator> for str
Source§fn equivalent(&self, key: &PgOperator) -> bool
fn equivalent(&self, key: &PgOperator) -> bool
key and return true if they are equal.Source§impl Hash for PgOperator
impl Hash for PgOperator
Source§impl PartialEq for PgOperator
impl PartialEq for PgOperator
Source§impl Serialize for PgOperator
impl Serialize for PgOperator
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for PgOperator
impl StructuralPartialEq for PgOperator
Auto Trait Implementations§
impl Freeze for PgOperator
impl RefUnwindSafe for PgOperator
impl Send for PgOperator
impl Sync for PgOperator
impl Unpin for PgOperator
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.