Struct podman_autogen_api::models::id_map::IdMap
source · pub struct IdMap {
pub container_id: Option<i64>,
pub host_id: Option<i64>,
pub size: Option<i64>,
}
Expand description
IdMap : IDMap contains a single entry for user namespace range remapping. An array of IDMap entries represents the structure that will be provided to the Linux kernel for creating a user namespace.
Fields§
§container_id: Option<i64>
§host_id: Option<i64>
§size: Option<i64>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for IdMap
impl<'de> Deserialize<'de> for IdMap
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 IdMap
impl PartialEq for IdMap
impl StructuralPartialEq for IdMap
Auto Trait Implementations§
impl Freeze for IdMap
impl RefUnwindSafe for IdMap
impl Send for IdMap
impl Sync for IdMap
impl Unpin for IdMap
impl UnwindSafe for IdMap
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)