pub struct SingleFilePermission {
pub name: Option<String>,
pub identifier: Option<String>,
pub property_type: Option<u32>,
pub access_mask: Option<u32>,
pub ace_flags: Option<u32>,
}Expand description
Access-control entry for a logical single-file entry.
Fields§
§name: Option<String>Permission name.
identifier: Option<String>Security identifier or permission identifier.
property_type: Option<u32>Permission property type.
access_mask: Option<u32>Access mask value.
ace_flags: Option<u32>ACE flags value.
Implementations§
Source§impl SingleFilePermission
impl SingleFilePermission
Sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
Returns the permission identifier.
Sourcepub fn property_type(&self) -> Option<u32>
pub fn property_type(&self) -> Option<u32>
Returns the permission property type.
Sourcepub fn access_mask(&self) -> Option<u32>
pub fn access_mask(&self) -> Option<u32>
Returns the access mask.
Trait Implementations§
Source§impl Clone for SingleFilePermission
impl Clone for SingleFilePermission
Source§impl Debug for SingleFilePermission
impl Debug for SingleFilePermission
Source§impl Default for SingleFilePermission
impl Default for SingleFilePermission
impl Eq for SingleFilePermission
Source§impl PartialEq for SingleFilePermission
impl PartialEq for SingleFilePermission
impl StructuralPartialEq for SingleFilePermission
Auto Trait Implementations§
impl Freeze for SingleFilePermission
impl RefUnwindSafe for SingleFilePermission
impl Send for SingleFilePermission
impl Sync for SingleFilePermission
impl Unpin for SingleFilePermission
impl UnsafeUnpin for SingleFilePermission
impl UnwindSafe for SingleFilePermission
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