pub struct SchemaPrivilegeView<'a> {
pub role_owner: RoleIdentity,
pub acl: Option<&'a [BoundAclEntry<SchemaPrivileges>]>,
}Expand description
A retained registry row or a stack-backed builtin ACL has the same privilege rules.
Fields§
§role_owner: RoleIdentity§acl: Option<&'a [BoundAclEntry<SchemaPrivileges>]>Trait Implementations§
Source§impl<'a> From<&'a BoundSchemaSecurity> for SchemaPrivilegeView<'a>
impl<'a> From<&'a BoundSchemaSecurity> for SchemaPrivilegeView<'a>
Source§fn from(security: &'a BoundSchemaSecurity) -> Self
fn from(security: &'a BoundSchemaSecurity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for SchemaPrivilegeView<'a>
impl<'a> RefUnwindSafe for SchemaPrivilegeView<'a>
impl<'a> Send for SchemaPrivilegeView<'a>
impl<'a> Sync for SchemaPrivilegeView<'a>
impl<'a> Unpin for SchemaPrivilegeView<'a>
impl<'a> UnsafeUnpin for SchemaPrivilegeView<'a>
impl<'a> UnwindSafe for SchemaPrivilegeView<'a>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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