pub struct KeyUser {
pub uid: u32,
pub usage: u32,
pub nkeys: u32,
pub nikeys: u32,
pub qnkeys: u32,
pub maxkeys: u32,
pub qnbytes: u32,
pub maxbytes: u32,
}
Expand description
Information about a user with at least one key
Fields§
§uid: u32
The user that owns the key
usage: u32
The kernel-internal usage count for the kernel structure used to record key users
nkeys: u32
The total number of keys owned by the user
nikeys: u32
THe number of keys that have been instantiated
qnkeys: u32
The number of keys owned by the user
maxkeys: u32
The maximum number of keys that the user may own
qnbytes: u32
The number of bytes consumed in playloads of the keys owned by this user
maxbytes: u32
The upper limit on the number of bytes in key payloads for this user
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyUser
impl<'de> Deserialize<'de> for KeyUser
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
Auto Trait Implementations§
impl Freeze for KeyUser
impl RefUnwindSafe for KeyUser
impl Send for KeyUser
impl Sync for KeyUser
impl Unpin for KeyUser
impl UnwindSafe for KeyUser
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)