pub struct ListContainerNamespaces {
pub cgroup: Option<String>,
pub ipc: Option<String>,
pub mnt: Option<String>,
pub net: Option<String>,
pub pidns: Option<String>,
pub user: Option<String>,
pub uts: Option<String>,
}
Available on crate feature
v5
only.Expand description
ListContainerNamespaces contains the identifiers of the container’s Linux namespaces
Fields§
§cgroup: Option<String>
Cgroup namespace
ipc: Option<String>
IPC namespace
mnt: Option<String>
Mount namespace
net: Option<String>
Network namespace
pidns: Option<String>
PID namespace
user: Option<String>
User namespace
uts: Option<String>
UTS namespace
Trait Implementations§
Source§impl Debug for ListContainerNamespaces
impl Debug for ListContainerNamespaces
Source§impl Default for ListContainerNamespaces
impl Default for ListContainerNamespaces
Source§fn default() -> ListContainerNamespaces
fn default() -> ListContainerNamespaces
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListContainerNamespaces
impl<'de> Deserialize<'de> for ListContainerNamespaces
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 ListContainerNamespaces
impl RefUnwindSafe for ListContainerNamespaces
impl Send for ListContainerNamespaces
impl Sync for ListContainerNamespaces
impl Unpin for ListContainerNamespaces
impl UnwindSafe for ListContainerNamespaces
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