pub struct SingleFilePermissionGroup {
pub name: Option<String>,
pub identifier: Option<String>,
pub property_type: Option<u32>,
pub access_mask: Option<u32>,
pub ace_flags: Option<u32>,
pub permissions: Vec<SingleFilePermission>,
}Expand description
Access-control group for logical single-file entries.
Fields§
§name: Option<String>Group name.
identifier: Option<String>Security identifier or group identifier.
property_type: Option<u32>Permission group property type.
access_mask: Option<u32>Group access mask value.
ace_flags: Option<u32>Group ACE flags value.
permissions: Vec<SingleFilePermission>Permissions in the group.
Implementations§
Source§impl SingleFilePermissionGroup
impl SingleFilePermissionGroup
Sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
Returns the group identifier.
Sourcepub fn property_type(&self) -> Option<u32>
pub fn property_type(&self) -> Option<u32>
Returns the group property type.
Sourcepub fn access_mask(&self) -> Option<u32>
pub fn access_mask(&self) -> Option<u32>
Returns the group access mask.
Sourcepub fn number_of_entries(&self) -> usize
pub fn number_of_entries(&self) -> usize
Returns the number of permissions in the group.
Sourcepub fn entry_by_index(&self, index: i32) -> Option<&SingleFilePermission>
pub fn entry_by_index(&self, index: i32) -> Option<&SingleFilePermission>
Returns a permission in the group by table index.
Trait Implementations§
Source§impl Clone for SingleFilePermissionGroup
impl Clone for SingleFilePermissionGroup
Source§impl Debug for SingleFilePermissionGroup
impl Debug for SingleFilePermissionGroup
Source§impl Default for SingleFilePermissionGroup
impl Default for SingleFilePermissionGroup
impl Eq for SingleFilePermissionGroup
impl StructuralPartialEq for SingleFilePermissionGroup
Auto Trait Implementations§
impl Freeze for SingleFilePermissionGroup
impl RefUnwindSafe for SingleFilePermissionGroup
impl Send for SingleFilePermissionGroup
impl Sync for SingleFilePermissionGroup
impl Unpin for SingleFilePermissionGroup
impl UnsafeUnpin for SingleFilePermissionGroup
impl UnwindSafe for SingleFilePermissionGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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