pub struct PgAmop {
pub amopfamily: SmolStr,
pub amoplefttype: SmolStr,
pub amoprighttype: SmolStr,
pub amopstrategy: u16,
pub amoppurpose: PgAmopAmoppurpose,
pub amopopr: SmolStr,
pub amopmethod: SmolStr,
pub amopsortfamily: Option<SmolStr>,
}Expand description
The DDL-only contents of pg_amop
Fields§
§amopfamily: SmolStroid (references pg_opfamily.oid) The operator family this entry is for
amoplefttype: SmolStroid (references pg_type.oid) Left-hand input data type of operator
amoprighttype: SmolStroid (references pg_type.oid) Right-hand input data type of operator
amopstrategy: u16int2 Operator strategy number
amoppurpose: PgAmopAmoppurposechar Operator purpose, either s for search or o for ordering
amopopr: SmolStroid (references pg_operator.oid) OID of the operator
amopmethod: SmolStroid (references pg_am.oid) Index access method operator family is for
amopsortfamily: Option<SmolStr>oid (references pg_opfamily.oid) The B-tree operator family this entry sorts according to, if an ordering operator; zero if a search operator
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PgAmop
impl<'de> Deserialize<'de> for PgAmop
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgAmop, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgAmop, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PgAmop
impl Serialize for PgAmop
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,
Serialize this value into the given Serde serializer. Read more
impl Eq for PgAmop
impl StructuralPartialEq for PgAmop
Auto Trait Implementations§
impl Freeze for PgAmop
impl RefUnwindSafe for PgAmop
impl Send for PgAmop
impl Sync for PgAmop
impl Unpin for PgAmop
impl UnsafeUnpin for PgAmop
impl UnwindSafe for PgAmop
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> 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
Compare self to
key and return true if they are equal.