pub struct OpClass {
pub oid: u32,
pub method: u32,
pub name: String,
pub namespace: u32,
pub owner: u32,
pub family: u32,
pub intype: u32,
pub default: bool,
pub keytype: u32,
}Expand description
An operator class, one row of pg_opclass.
Fields§
§oid: u32The OID. Catalog::create_opclass sets it.
method: u32opcmethod: the OID of the access method.
name: StringThe name.
namespace: u32The OID of the schema.
owner: u32The OID of the owner role.
family: u32opcfamily: the OID of the operator family.
intype: u32opcintype: the type that the class indexes.
default: boolopcdefault: true for the default class of the type and the access method.
keytype: u32opckeytype: the type of the data in the index, or 0 for the type that the class indexes.
Trait Implementations§
impl Eq for OpClass
impl StructuralPartialEq for OpClass
Auto Trait Implementations§
impl Freeze for OpClass
impl RefUnwindSafe for OpClass
impl Send for OpClass
impl Sync for OpClass
impl Unpin for OpClass
impl UnsafeUnpin for OpClass
impl UnwindSafe for OpClass
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