pub struct SchemaAclEntry {
pub role: String,
pub grantor: Option<String>,
pub privileges: SchemaPrivileges,
pub grant_options: SchemaPrivileges,
}Expand description
One explicit schema ACL path. None on SchemaRow::acl retains the owner-only default privileges of an ordinary newly created schema.
Fields§
§role: String§grantor: Option<String>Legacy persisted entries without an explicit grantor originate from the schema owner.
privileges: SchemaPrivileges§grant_options: SchemaPrivilegesTrait Implementations§
Source§impl Clone for SchemaAclEntry
impl Clone for SchemaAclEntry
Source§fn clone(&self) -> SchemaAclEntry
fn clone(&self) -> SchemaAclEntry
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 SchemaAclEntry
impl Debug for SchemaAclEntry
Source§impl<'de> Deserialize<'de> for SchemaAclEntry
impl<'de> Deserialize<'de> for SchemaAclEntry
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 SchemaAclEntry
Source§impl PartialEq for SchemaAclEntry
impl PartialEq for SchemaAclEntry
Source§impl Serialize for SchemaAclEntry
impl Serialize for SchemaAclEntry
impl StructuralPartialEq for SchemaAclEntry
Auto Trait Implementations§
impl Freeze for SchemaAclEntry
impl RefUnwindSafe for SchemaAclEntry
impl Send for SchemaAclEntry
impl Sync for SchemaAclEntry
impl Unpin for SchemaAclEntry
impl UnsafeUnpin for SchemaAclEntry
impl UnwindSafe for SchemaAclEntry
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