Struct winsafe::TOKEN_ACCESS_INFORMATION

source ·
#[repr(C)]
pub struct TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f> { pub AuthenticationId: LUID, pub TokenType: LUID, pub ImpersonationLevel: SECURITY_IMPERSONATION, pub MandatoryPolicy: TOKEN_MANDATORY_POLICY, pub AppContainerNumber: u32, /* private fields */ }
Available on crate feature kernel only.
Expand description

Fields§

§AuthenticationId: LUID§TokenType: LUID§ImpersonationLevel: SECURITY_IMPERSONATION§MandatoryPolicy: TOKEN_MANDATORY_POLICY§AppContainerNumber: u32

Implementations§

source§

impl<'a, 'b, 'c, 'd, 'e, 'f> TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

source

pub fn SidHash(&self) -> Option<&'a mut SID_AND_ATTRIBUTES_HASH<'a>>

Returns the pointer field.

source

pub fn set_SidHash(&mut self, obj: Option<&'a mut SID_AND_ATTRIBUTES_HASH<'a>>)

Sets the pointer field.

source

pub fn RestrictedSidHash(&self) -> Option<&'b mut SID_AND_ATTRIBUTES_HASH<'b>>

Returns the pointer field.

source

pub fn set_RestrictedSidHash( &mut self, obj: Option<&'b mut SID_AND_ATTRIBUTES_HASH<'b>> )

Sets the pointer field.

source

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

Returns the pointer field.

source

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

Sets the pointer field.

source

pub fn PackageSid(&self) -> Option<&'d mut SID>

Returns the pointer field.

source

pub fn set_PackageSid(&mut self, obj: Option<&'d mut SID>)

Sets the pointer field.

source

pub fn CapabilitiesHash(&self) -> Option<&'e mut SID_AND_ATTRIBUTES_HASH<'e>>

Returns the pointer field.

source

pub fn set_CapabilitiesHash( &mut self, obj: Option<&'e mut SID_AND_ATTRIBUTES_HASH<'e>> )

Sets the pointer field.

source

pub fn TrustLevelSid(&self) -> Option<&'f mut SID>

Returns the pointer field.

source

pub fn set_TrustLevelSid(&mut self, obj: Option<&'f mut SID>)

Sets the pointer field.

Trait Implementations§

source§

impl<'a, 'b, 'c, 'd, 'e, 'f> Default for TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

source§

fn default() -> Self

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

Auto Trait Implementations§

§

impl<'a, 'b, 'c, 'd, 'e, 'f> Freeze for TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> RefUnwindSafe for TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> !Send for TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> !Sync for TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> Unpin for TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> !UnwindSafe for TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>

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.