pub struct DefaultAcl {
pub oid: u32,
pub role: u32,
pub namespace: u32,
pub objtype: u8,
pub acl: Vec<String>,
}Expand description
The default privileges of a role for the new objects of a kind, one row of pg_default_acl.
Fields§
§oid: u32The OID.
role: u32defaclrole: the OID of the role that creates the objects.
namespace: u32defaclnamespace: the OID of the schema, or 0 for the objects of all the schemas.
objtype: u8defaclobjtype: r for relations, S for sequences, f for functions, T for types, n for schemas and L for large objects.
acl: Vec<String>defaclacl: the ACL, as aclitem texts.
Trait Implementations§
Source§impl Clone for DefaultAcl
impl Clone for DefaultAcl
Source§impl Debug for DefaultAcl
impl Debug for DefaultAcl
impl Eq for DefaultAcl
Source§impl PartialEq for DefaultAcl
impl PartialEq for DefaultAcl
impl StructuralPartialEq for DefaultAcl
Auto Trait Implementations§
impl Freeze for DefaultAcl
impl RefUnwindSafe for DefaultAcl
impl Send for DefaultAcl
impl Sync for DefaultAcl
impl Unpin for DefaultAcl
impl UnsafeUnpin for DefaultAcl
impl UnwindSafe for DefaultAcl
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