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) -> BoundRelationSecurity
Trait Implementations§
Source§impl Clone for BoundRelationSecurity
impl Clone for BoundRelationSecurity
Source§fn clone(&self) -> BoundRelationSecurity
fn clone(&self) -> BoundRelationSecurity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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<BoundRelationSecurity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BoundRelationSecurity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BoundRelationSecurity
Source§impl From<BoundRelationSecurity> for RelationSecurityRow
impl From<BoundRelationSecurity> for RelationSecurityRow
Source§fn from(row: BoundRelationSecurity) -> Self
fn from(row: BoundRelationSecurity) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BoundRelationSecurity
impl PartialEq for BoundRelationSecurity
Source§impl Serialize for BoundRelationSecurity
impl Serialize for BoundRelationSecurity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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