pub struct LinuxIdMapping {
pub container_id: Option<u32>,
pub host_id: Option<u32>,
pub size: Option<u32>,
}
Available on crate feature
v5
only.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 Debug for LinuxIdMapping
impl Debug for LinuxIdMapping
Source§impl Default for LinuxIdMapping
impl Default for LinuxIdMapping
Source§fn default() -> LinuxIdMapping
fn default() -> LinuxIdMapping
Returns the “default value” for a type. Read more
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
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