pub struct SecurityInformation(/* private fields */);Expand description
Which parts of a descriptor to write as text.
A newtype over OBJECT_SECURITY_INFORMATION, because the value is a combination and Windows
defines more bits than are named here. Nothing is defaulted on a caller’s behalf: a mask that
selects nothing is Windows’ to answer.
§Example
use windows_namespace_request_sys::SecurityInformation;
let both = SecurityInformation::OWNER | SecurityInformation::DACL;
assert!(both.contains(SecurityInformation::OWNER));
assert!(both.contains(SecurityInformation::DACL));
assert!(!both.contains(SecurityInformation::SACL));Implementations§
Source§impl SecurityInformation
impl SecurityInformation
Trait Implementations§
Source§impl BitOr for SecurityInformation
impl BitOr for SecurityInformation
Source§impl Clone for SecurityInformation
impl Clone for SecurityInformation
impl Copy for SecurityInformation
Source§impl Debug for SecurityInformation
impl Debug for SecurityInformation
Source§impl Default for SecurityInformation
impl Default for SecurityInformation
impl Eq for SecurityInformation
Source§impl Hash for SecurityInformation
impl Hash for SecurityInformation
Source§impl PartialEq for SecurityInformation
impl PartialEq for SecurityInformation
impl StructuralPartialEq for SecurityInformation
Auto Trait Implementations§
impl Freeze for SecurityInformation
impl RefUnwindSafe for SecurityInformation
impl Send for SecurityInformation
impl Sync for SecurityInformation
impl Unpin for SecurityInformation
impl UnsafeUnpin for SecurityInformation
impl UnwindSafe for SecurityInformation
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