pub struct ExecIdentity {
pub uid: u32,
pub gid: u32,
}Expand description
Numeric image identity. Exec identities must additionally exclude uid and gid zero.
Fields§
§uid: u32User id.
gid: u32Primary group id; it need not equal the user id.
Trait Implementations§
Source§impl Clone for ExecIdentity
impl Clone for ExecIdentity
impl Copy for ExecIdentity
Source§impl Debug for ExecIdentity
impl Debug for ExecIdentity
impl Eq for ExecIdentity
Source§impl PartialEq for ExecIdentity
impl PartialEq for ExecIdentity
impl StructuralPartialEq for ExecIdentity
Auto Trait Implementations§
impl Forget for ExecIdentity
impl Freeze for ExecIdentity
impl Move for ExecIdentity
impl RefUnwindSafe for ExecIdentity
impl Send for ExecIdentity
impl Sync for ExecIdentity
impl Unpin for ExecIdentity
impl UnsafeUnpin for ExecIdentity
impl UnwindSafe for ExecIdentity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.