pub struct PgAuthMembers {
pub roleid: Str,
pub member: Str,
pub grantor: Str,
pub admin_option: bool,
pub inherit_option: bool,
pub set_option: bool,
}Expand description
The DDL-only contents of pg_auth_members
Fields§
§roleid: Stroid (references pg_authid.oid) ID of a role that has a member
member: Stroid (references pg_authid.oid) ID of a role that is a member of roleid
grantor: Stroid (references pg_authid.oid) ID of the role that granted this membership
admin_option: boolbool True if member can grant membership in roleid to others
inherit_option: boolbool True if the member automatically inherits the privileges of the granted role
set_option: boolbool True if the member can SET ROLE to the granted role
Trait Implementations§
Source§impl Clone for PgAuthMembers
impl Clone for PgAuthMembers
Source§fn clone(&self) -> PgAuthMembers
fn clone(&self) -> PgAuthMembers
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PgAuthMembers
impl Debug for PgAuthMembers
Source§impl<'de> Deserialize<'de> for PgAuthMembers
impl<'de> Deserialize<'de> for PgAuthMembers
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
Source§impl PartialEq for PgAuthMembers
impl PartialEq for PgAuthMembers
Source§impl Serialize for PgAuthMembers
impl Serialize for PgAuthMembers
impl Eq for PgAuthMembers
impl StructuralPartialEq for PgAuthMembers
Auto Trait Implementations§
impl Freeze for PgAuthMembers
impl RefUnwindSafe for PgAuthMembers
impl Send for PgAuthMembers
impl Sync for PgAuthMembers
impl Unpin for PgAuthMembers
impl UnsafeUnpin for PgAuthMembers
impl UnwindSafe for PgAuthMembers
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.