#[non_exhaustive]pub struct ItemAcl {
pub acl: Acl,
pub owner: Option<Subject>,
pub owner_group: Option<Subject>,
}Expand description
The ACL of one item, with the owner and owning group its Owner and OwnerGroup
entries resolve against. As configuration the subjects are their text.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.acl: AclThe ACL.
owner: Option<Subject>Who owns the item.
owner_group: Option<Subject>The item’s owning group.
Implementations§
Trait Implementations§
Source§impl Describe for ItemAcl
impl Describe for ItemAcl
impl Eq for ItemAcl
impl Fields for ItemAcl
impl StructuralPartialEq for ItemAcl
Auto Trait Implementations§
impl Freeze for ItemAcl
impl RefUnwindSafe for ItemAcl
impl Send for ItemAcl
impl Sync for ItemAcl
impl Unpin for ItemAcl
impl UnsafeUnpin for ItemAcl
impl UnwindSafe for ItemAcl
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