pub struct BoundRelationSecurity {
pub role_owner: RoleIdentity,
pub acl: Option<Vec<BoundAclEntry<TablePrivileges>>>,
pub column_acls: BTreeMap<String, Vec<BoundAclEntry<TablePrivileges>>>,
pub acl_revisions: RelationAclRevisions,
}Fields§
§role_owner: RoleIdentity§acl: Option<Vec<BoundAclEntry<TablePrivileges>>>Explicit null preserves the owner-only default ACL; an absent current field is invalid.
column_acls: BTreeMap<String, Vec<BoundAclEntry<TablePrivileges>>>§acl_revisions: RelationAclRevisionsLoaded from independent ACL records, never embedded in a relation definition.
Implementations§
Source§impl BoundRelationSecurity
impl BoundRelationSecurity
pub fn owner(role_owner: RoleIdentity) -> Self
Trait Implementations§
Source§impl Clone for BoundRelationSecurity
impl Clone for BoundRelationSecurity
Source§impl Debug for BoundRelationSecurity
impl Debug for BoundRelationSecurity
Source§impl<'de> Deserialize<'de> for BoundRelationSecurity
impl<'de> Deserialize<'de> for BoundRelationSecurity
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 BoundRelationSecurity
Source§impl PartialEq for BoundRelationSecurity
impl PartialEq for BoundRelationSecurity
Source§impl Serialize for BoundRelationSecurity
impl Serialize for BoundRelationSecurity
impl StructuralPartialEq for BoundRelationSecurity
Auto Trait Implementations§
impl Freeze for BoundRelationSecurity
impl RefUnwindSafe for BoundRelationSecurity
impl Send for BoundRelationSecurity
impl Sync for BoundRelationSecurity
impl Unpin for BoundRelationSecurity
impl UnsafeUnpin for BoundRelationSecurity
impl UnwindSafe for BoundRelationSecurity
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