pub struct PgOpclass {
pub opcmethod: Str,
pub opcname: Str,
pub opcnamespace: Str,
pub opcowner: Str,
pub opcfamily: Str,
pub opcintype: Str,
pub opcdefault: bool,
pub opckeytype: Option<Str>,
pub description: Option<Str>,
}Expand description
The DDL-only contents of pg_opclass
Fields§
§opcmethod: Stroid (references pg_am.oid) Index access method operator class is for
opcname: Strname Name of this operator class
opcnamespace: Stroid (references pg_namespace.oid) Namespace of this operator class
opcowner: Stroid (references pg_authid.oid) Owner of the operator class
opcfamily: Stroid (references pg_opfamily.oid) Operator family containing the operator class
opcintype: Stroid (references pg_type.oid) Data type that the operator class indexes
opcdefault: boolbool True if this operator class is the default for opcintype
opckeytype: Option<Str>oid (references pg_type.oid) Type of data stored in index, or zero if same as opcintype
description: Option<Str>text The comment from pg_description
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PgOpclass
impl<'de> Deserialize<'de> for PgOpclass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PgOpclass
impl StructuralPartialEq for PgOpclass
Auto Trait Implementations§
impl Freeze for PgOpclass
impl RefUnwindSafe for PgOpclass
impl Send for PgOpclass
impl Sync for PgOpclass
impl Unpin for PgOpclass
impl UnsafeUnpin for PgOpclass
impl UnwindSafe for PgOpclass
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.