pub struct LinuxContainerUser {
pub gid: i64,
pub supplemental_groups: Option<Vec<i64>>,
pub uid: i64,
}
Expand description
LinuxContainerUser represents user identity information in Linux containers
Fields§
§gid: i64
GID is the primary gid initially attached to the first process in the container
supplemental_groups: Option<Vec<i64>>
SupplementalGroups are the supplemental groups initially attached to the first process in the container
uid: i64
UID is the primary uid initially attached to the first process in the container
Trait Implementations§
Source§impl Clone for LinuxContainerUser
impl Clone for LinuxContainerUser
Source§fn clone(&self) -> LinuxContainerUser
fn clone(&self) -> LinuxContainerUser
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 LinuxContainerUser
impl Debug for LinuxContainerUser
Source§impl DeepMerge for LinuxContainerUser
impl DeepMerge for LinuxContainerUser
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for LinuxContainerUser
impl Default for LinuxContainerUser
Source§fn default() -> LinuxContainerUser
fn default() -> LinuxContainerUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxContainerUser
impl<'de> Deserialize<'de> for LinuxContainerUser
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 for LinuxContainerUser
impl PartialEq for LinuxContainerUser
Source§impl Serialize for LinuxContainerUser
impl Serialize for LinuxContainerUser
impl StructuralPartialEq for LinuxContainerUser
Auto Trait Implementations§
impl Freeze for LinuxContainerUser
impl RefUnwindSafe for LinuxContainerUser
impl Send for LinuxContainerUser
impl Sync for LinuxContainerUser
impl Unpin for LinuxContainerUser
impl UnwindSafe for LinuxContainerUser
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