Struct winsafe::co::SID_NAME_USE
source · pub struct SID_NAME_USE(/* private fields */);
Available on crate feature
kernel
only.Expand description
SID_NAME_USE
enumeration (u32
).
Originally has Sid
prefix.
Implementations§
source§impl SID_NAME_USE
impl SID_NAME_USE
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl SID_NAME_USE
impl SID_NAME_USE
pub const User: Self = _
pub const Group: Self = _
pub const Domain: Self = _
pub const Alias: Self = _
pub const WellKnownGroup: Self = _
pub const DeletedAccount: Self = _
pub const Invalid: Self = _
pub const Unknown: Self = _
pub const Computer: Self = _
pub const Label: Self = _
pub const LogonSession: Self = _
Trait Implementations§
source§impl AsRef<u32> for SID_NAME_USE
impl AsRef<u32> for SID_NAME_USE
source§impl Binary for SID_NAME_USE
impl Binary for SID_NAME_USE
source§impl Clone for SID_NAME_USE
impl Clone for SID_NAME_USE
source§fn clone(&self) -> SID_NAME_USE
fn clone(&self) -> SID_NAME_USE
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SID_NAME_USE
impl Debug for SID_NAME_USE
source§impl Default for SID_NAME_USE
impl Default for SID_NAME_USE
source§fn default() -> SID_NAME_USE
fn default() -> SID_NAME_USE
Returns the “default value” for a type. Read more
source§impl Display for SID_NAME_USE
impl Display for SID_NAME_USE
source§impl From<SID_NAME_USE> for u32
impl From<SID_NAME_USE> for u32
source§fn from(v: SID_NAME_USE) -> Self
fn from(v: SID_NAME_USE) -> Self
Converts to this type from the input type.
source§impl Hash for SID_NAME_USE
impl Hash for SID_NAME_USE
source§impl IntUnderlying for SID_NAME_USE
impl IntUnderlying for SID_NAME_USE
source§impl LowerHex for SID_NAME_USE
impl LowerHex for SID_NAME_USE
source§impl Octal for SID_NAME_USE
impl Octal for SID_NAME_USE
source§impl Ord for SID_NAME_USE
impl Ord for SID_NAME_USE
source§impl PartialEq for SID_NAME_USE
impl PartialEq for SID_NAME_USE
source§fn eq(&self, other: &SID_NAME_USE) -> bool
fn eq(&self, other: &SID_NAME_USE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SID_NAME_USE
impl PartialOrd for SID_NAME_USE
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl UpperHex for SID_NAME_USE
impl UpperHex for SID_NAME_USE
impl Copy for SID_NAME_USE
impl Eq for SID_NAME_USE
impl NativeConst for SID_NAME_USE
impl Send for SID_NAME_USE
impl StructuralPartialEq for SID_NAME_USE
Auto Trait Implementations§
impl Freeze for SID_NAME_USE
impl RefUnwindSafe for SID_NAME_USE
impl Sync for SID_NAME_USE
impl Unpin for SID_NAME_USE
impl UnwindSafe for SID_NAME_USE
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