pub struct UserNamespaceConfig {
pub uid_mappings: Vec<IdMapping>,
pub gid_mappings: Vec<IdMapping>,
}Expand description
User namespace configuration
Fields§
§uid_mappings: Vec<IdMapping>UID mappings
gid_mappings: Vec<IdMapping>GID mappings
Implementations§
Trait Implementations§
Source§impl Clone for UserNamespaceConfig
impl Clone for UserNamespaceConfig
Source§fn clone(&self) -> UserNamespaceConfig
fn clone(&self) -> UserNamespaceConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UserNamespaceConfig
impl RefUnwindSafe for UserNamespaceConfig
impl Send for UserNamespaceConfig
impl Sync for UserNamespaceConfig
impl Unpin for UserNamespaceConfig
impl UnsafeUnpin for UserNamespaceConfig
impl UnwindSafe for UserNamespaceConfig
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