pub struct RoleIdentity {
pub oid: i64,
pub object_id: [u8; 16],
}Expand description
A catalog reference retains both the public OID and the role incarnation.
Fields§
§oid: i64§object_id: [u8; 16]Implementations§
Trait Implementations§
Source§impl Clone for RoleIdentity
impl Clone for RoleIdentity
impl Copy for RoleIdentity
Source§impl Debug for RoleIdentity
impl Debug for RoleIdentity
Source§impl<'de> Deserialize<'de> for RoleIdentity
impl<'de> Deserialize<'de> for RoleIdentity
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 RoleIdentity
Source§impl Ord for RoleIdentity
impl Ord for RoleIdentity
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 PartialEq for RoleIdentity
impl PartialEq for RoleIdentity
Source§impl PartialOrd for RoleIdentity
impl PartialOrd for RoleIdentity
Source§impl Serialize for RoleIdentity
impl Serialize for RoleIdentity
impl StructuralPartialEq for RoleIdentity
Auto Trait Implementations§
impl Freeze for RoleIdentity
impl RefUnwindSafe for RoleIdentity
impl Send for RoleIdentity
impl Sync for RoleIdentity
impl Unpin for RoleIdentity
impl UnsafeUnpin for RoleIdentity
impl UnwindSafe for RoleIdentity
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