pub struct Operator {}Expand description
An operator, one row of pg_operator.
Fields§
§oid: u32The OID. Catalog::create_operator sets it.
name: StringThe name.
namespace: u32The OID of the schema.
owner: u32The OID of the owner role.
kind: u8oprkind: b for an infix operator or l for a prefix operator.
can_merge: booloprcanmerge.
can_hash: booloprcanhash.
left: u32oprleft: the type of the left input, or 0 for a prefix operator.
right: u32oprright.
result: u32oprresult, or 0 for a shell.
commutator: u32oprcom: the commutator, or 0.
negator: u32oprnegate: the negator, or 0.
code: u32oprcode: the function, or 0 for a shell.
restrict: u32oprrest: the restriction estimator, or 0.
join: u32oprjoin: the join estimator, or 0.
Implementations§
Trait Implementations§
impl Eq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl Freeze for Operator
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnsafeUnpin for Operator
impl UnwindSafe for Operator
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