Struct btlib::AuthzAttrs
source · pub struct AuthzAttrs {
pub uid: u32,
pub gid: u32,
pub supp_gids: Vec<u32>,
}
Expand description
Attributes associated with a principal which are used for authorization decisions.
Fields§
§uid: u32
The user ID of the process being authorized.
gid: u32
The group ID of the process being authorized.
supp_gids: Vec<u32>
The group IDs of the supplemental groups in which a process is a member.
Trait Implementations§
source§impl Clone for AuthzAttrs
impl Clone for AuthzAttrs
source§fn clone(&self) -> AuthzAttrs
fn clone(&self) -> AuthzAttrs
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 AuthzAttrs
impl Debug for AuthzAttrs
source§impl<'de> Deserialize<'de> for AuthzAttrs
impl<'de> Deserialize<'de> for AuthzAttrs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<AuthzAttrs> for AuthzAttrs
impl PartialEq<AuthzAttrs> for AuthzAttrs
source§fn eq(&self, other: &AuthzAttrs) -> bool
fn eq(&self, other: &AuthzAttrs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AuthzAttrs
impl Serialize for AuthzAttrs
impl StructuralPartialEq for AuthzAttrs
Auto Trait Implementations§
impl RefUnwindSafe for AuthzAttrs
impl Send for AuthzAttrs
impl Sync for AuthzAttrs
impl Unpin for AuthzAttrs
impl UnwindSafe for AuthzAttrs
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