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>,
}
Expand description
ListContainerNamespaces : 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
Implementations§
Source§impl ListContainerNamespaces
impl ListContainerNamespaces
Sourcepub fn new() -> ListContainerNamespaces
pub fn new() -> ListContainerNamespaces
ListContainerNamespaces contains the identifiers of the container’s Linux namespaces
Trait Implementations§
Source§impl Clone for ListContainerNamespaces
impl Clone for ListContainerNamespaces
Source§fn clone(&self) -> ListContainerNamespaces
fn clone(&self) -> ListContainerNamespaces
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 moreSource§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
Source§impl PartialEq for ListContainerNamespaces
impl PartialEq for ListContainerNamespaces
Source§impl Serialize for ListContainerNamespaces
impl Serialize for ListContainerNamespaces
impl StructuralPartialEq for ListContainerNamespaces
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