Struct winsafe::TOKEN_GROUPS_AND_PRIVILEGES

source ·
#[repr(C)]
pub struct TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c> { pub SidCount: u32, pub SidLength: u32, pub RestrictedSidCount: u32, pub RestrictedSidLength: u32, pub PrivilegeCount: u32, pub PrivilegeLength: u32, pub AuthenticationId: LUID, /* private fields */ }
Available on crate feature kernel only.
Expand description

Fields§

§SidCount: u32§SidLength: u32§RestrictedSidCount: u32§RestrictedSidLength: u32§PrivilegeCount: u32§PrivilegeLength: u32§AuthenticationId: LUID

Implementations§

source§

impl<'a, 'b, 'c> TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

source

pub fn Sids(&self) -> Option<&'a mut SID_AND_ATTRIBUTES<'a>>

Returns the pointer field.

source

pub fn set_Sids(&mut self, obj: Option<&'a mut SID_AND_ATTRIBUTES<'a>>)

Sets the pointer field.

source

pub fn RestrictedSids(&self) -> Option<&'b mut SID_AND_ATTRIBUTES<'b>>

Returns the pointer field.

source

pub fn set_RestrictedSids( &mut self, obj: Option<&'b mut SID_AND_ATTRIBUTES<'b>> )

Sets the pointer field.

source

pub fn Privileges(&self) -> Option<&'c mut LUID_AND_ATTRIBUTES>

Returns the pointer field.

source

pub fn set_Privileges(&mut self, obj: Option<&'c mut LUID_AND_ATTRIBUTES>)

Sets the pointer field.

Trait Implementations§

source§

impl<'a, 'b, 'c> Default for TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a, 'b, 'c> Freeze for TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

§

impl<'a, 'b, 'c> RefUnwindSafe for TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

§

impl<'a, 'b, 'c> !Send for TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

§

impl<'a, 'b, 'c> !Sync for TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

§

impl<'a, 'b, 'c> Unpin for TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

§

impl<'a, 'b, 'c> UnwindSafe for TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.