[−][src]Struct postgres_parser::sys::OpExpr
OpExpr expression node for an operator invocation
Semantically, this is essentially the same as a function call.
Note that opfuncid is not necessarily filled in immediately on creation of the node. The planner makes sure it is valid before passing the node tree to the executor, but during parsing/planning opfuncid can be 0.
Fields
xpr: Expropno: Oidopfuncid: OidPG_OPERATOR OID of the operator
opresulttype: OidPG_PROC OID of underlying function
opretset: boolPG_TYPE OID of result value
opcollid: Oidtrue if operator returns set
inputcollid: OidOID of collation of result
args: *mut ListOID of collation that operator should use
location: c_intarguments to the operator (1 or 2)
Trait Implementations
impl Debug for OpExpr[src]
impl Default for OpExpr[src]
impl Eq for OpExpr[src]
impl Hash for OpExpr[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<OpExpr> for OpExpr[src]
impl StructuralEq for OpExpr[src]
impl StructuralPartialEq for OpExpr[src]
Auto Trait Implementations
impl RefUnwindSafe for OpExpr
impl !Send for OpExpr
impl !Sync for OpExpr
impl Unpin for OpExpr
impl UnwindSafe for OpExpr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,