pub struct IdMapping {
pub container_id: u32,
pub host_id: u32,
pub size: u32,
}Expand description
ID mapping for user namespace or idmapped mounts.
Fields§
§container_id: u32Starting ID in container.
host_id: u32Starting ID on host.
size: u32Number of IDs to map.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IdMapping
impl<'de> Deserialize<'de> for IdMapping
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 IdMapping
impl RefUnwindSafe for IdMapping
impl Send for IdMapping
impl Sync for IdMapping
impl Unpin for IdMapping
impl UnsafeUnpin for IdMapping
impl UnwindSafe for IdMapping
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