pub struct RawAclRow {
pub class: String,
pub oid: Oid,
pub subid: i32,
pub column_name: Option<String>,
pub grantee: Oid,
pub privilege: String,
pub grantable: bool,
pub owner: Oid,
pub is_default_acl: bool,
}Expand description
One exploded aclitem, addressed the way pg_description addresses a
comment: by catalog table, OID, and a sub-object id that is zero for the
object itself and a column’s attnum otherwise.
Fields§
§class: StringThe pg_catalog table oid addresses a row of.
oid: Oid§subid: i32Zero for the object’s own ACL; a column’s attnum for a column ACL.
column_name: Option<String>The column’s name, present exactly when subid is non-zero. attnum is
a physical coordinate and never enters the model, so the name is read
beside it.
grantee: Oidaclitem.grantee, with [PUBLIC_GRANTEE] for PUBLIC.
privilege: String§grantable: bool§owner: OidThe object’s owner, whose grants are implicit in PostgreSQL and are dropped by the diff rather than by the fetch.
is_default_acl: boolThe object has no ACL of its own, so these rows are PostgreSQL’s defaults expanded rather than privileges anyone granted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawAclRow
impl RefUnwindSafe for RawAclRow
impl Send for RawAclRow
impl Sync for RawAclRow
impl Unpin for RawAclRow
impl UnsafeUnpin for RawAclRow
impl UnwindSafe for RawAclRow
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more