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
TOKEN_ACCESS_INFORMATION
struct.
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>
impl<'a, 'b, 'c, 'd, 'e, 'f> TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>
sourcepub fn SidHash(&self) -> Option<&'a mut SID_AND_ATTRIBUTES_HASH<'a>>
pub fn SidHash(&self) -> Option<&'a mut SID_AND_ATTRIBUTES_HASH<'a>>
Returns the pointer field.
sourcepub fn set_SidHash(&mut self, obj: Option<&'a mut SID_AND_ATTRIBUTES_HASH<'a>>)
pub fn set_SidHash(&mut self, obj: Option<&'a mut SID_AND_ATTRIBUTES_HASH<'a>>)
Sets the pointer field.
sourcepub fn RestrictedSidHash(&self) -> Option<&'b mut SID_AND_ATTRIBUTES_HASH<'b>>
pub fn RestrictedSidHash(&self) -> Option<&'b mut SID_AND_ATTRIBUTES_HASH<'b>>
Returns the pointer field.
sourcepub fn set_RestrictedSidHash(
&mut self,
obj: Option<&'b mut SID_AND_ATTRIBUTES_HASH<'b>>
)
pub fn set_RestrictedSidHash( &mut self, obj: Option<&'b mut SID_AND_ATTRIBUTES_HASH<'b>> )
Sets the pointer field.
sourcepub fn Privileges(&self) -> Option<&'c mut TOKEN_PRIVILEGES>
pub fn Privileges(&self) -> Option<&'c mut TOKEN_PRIVILEGES>
Returns the pointer field.
sourcepub fn set_Privileges(&mut self, obj: Option<&'c mut TOKEN_PRIVILEGES>)
pub fn set_Privileges(&mut self, obj: Option<&'c mut TOKEN_PRIVILEGES>)
Sets the pointer field.
sourcepub fn PackageSid(&self) -> Option<&'d mut SID>
pub fn PackageSid(&self) -> Option<&'d mut SID>
Returns the pointer field.
sourcepub fn set_PackageSid(&mut self, obj: Option<&'d mut SID>)
pub fn set_PackageSid(&mut self, obj: Option<&'d mut SID>)
Sets the pointer field.
sourcepub fn CapabilitiesHash(&self) -> Option<&'e mut SID_AND_ATTRIBUTES_HASH<'e>>
pub fn CapabilitiesHash(&self) -> Option<&'e mut SID_AND_ATTRIBUTES_HASH<'e>>
Returns the pointer field.
sourcepub fn set_CapabilitiesHash(
&mut self,
obj: Option<&'e mut SID_AND_ATTRIBUTES_HASH<'e>>
)
pub fn set_CapabilitiesHash( &mut self, obj: Option<&'e mut SID_AND_ATTRIBUTES_HASH<'e>> )
Sets the pointer field.
sourcepub fn TrustLevelSid(&self) -> Option<&'f mut SID>
pub fn TrustLevelSid(&self) -> Option<&'f mut SID>
Returns the pointer field.
sourcepub fn set_TrustLevelSid(&mut self, obj: Option<&'f mut SID>)
pub fn set_TrustLevelSid(&mut self, obj: Option<&'f mut SID>)
Sets the pointer field.
Trait Implementations§
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> 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