pub struct LinuxIdMapping {
pub container_id: Option<u32>,
pub host_id: Option<u32>,
pub size: Option<u32>,
}
Expand description
LinuxIDMapping specifies UID/GID mappings
Fields§
§container_id: Option<u32>
ContainerID is the starting UID/GID in the container
host_id: Option<u32>
HostID is the starting UID/GID on the host to be mapped to ‘ContainerID’
size: Option<u32>
Size is the number of IDs to be mapped
Trait Implementations§
Source§impl Clone for LinuxIdMapping
impl Clone for LinuxIdMapping
Source§fn clone(&self) -> LinuxIdMapping
fn clone(&self) -> LinuxIdMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinuxIdMapping
impl Debug for LinuxIdMapping
Source§impl<'de> Deserialize<'de> for LinuxIdMapping
impl<'de> Deserialize<'de> for LinuxIdMapping
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 LinuxIdMapping
impl PartialEq for LinuxIdMapping
Source§impl Serialize for LinuxIdMapping
impl Serialize for LinuxIdMapping
impl StructuralPartialEq for LinuxIdMapping
Auto Trait Implementations§
impl Freeze for LinuxIdMapping
impl RefUnwindSafe for LinuxIdMapping
impl Send for LinuxIdMapping
impl Sync for LinuxIdMapping
impl Unpin for LinuxIdMapping
impl UnwindSafe for LinuxIdMapping
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