#[repr(C)]pub struct SID {
pub Revision: u8,
pub IdentifierAuthority: SID_IDENTIFIER_AUTHORITY,
/* private fields */
}
Available on crate feature
advapi
only.Expand description
SID
struct.
Note that you cannot directly instantiate this struct, because the
SubAuthority
field is dynamically allocated.
Possible ways:
Fields§
§Revision: u8
§IdentifierAuthority: SID_IDENTIFIER_AUTHORITY
Implementations§
Source§impl SID
impl SID
Sourcepub const fn SubAuthorityCount(&self) -> u8
pub const fn SubAuthorityCount(&self) -> u8
Returns the SubAuthorityCount
field.
Sourcepub const fn SubAuthority(&self) -> &[RID]
pub const fn SubAuthority(&self) -> &[RID]
Returns the SubAuthority
field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SID
impl RefUnwindSafe for SID
impl Send for SID
impl Sync for SID
impl Unpin for SID
impl UnwindSafe for SID
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