pub struct ObjRef {
pub class: u32,
pub oid: u32,
pub sub: i32,
}Expand description
An object as pg_depend names it: the OID of its catalog, its OID and a column number or 0.
Fields§
§class: u32The OID of the catalog that holds the object.
oid: u32The OID of the object.
sub: i32The column number, or 0 for the whole object.
Implementations§
Trait Implementations§
impl Copy for ObjRef
impl Eq for ObjRef
Source§impl Ord for ObjRef
impl Ord for ObjRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ObjRef
impl PartialOrd for ObjRef
impl StructuralPartialEq for ObjRef
Auto Trait Implementations§
impl Freeze for ObjRef
impl RefUnwindSafe for ObjRef
impl Send for ObjRef
impl Sync for ObjRef
impl Unpin for ObjRef
impl UnsafeUnpin for ObjRef
impl UnwindSafe for ObjRef
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