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 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 Clone for ListContainerNamespaces
impl Clone for ListContainerNamespaces
Source§fn clone(&self) -> ListContainerNamespaces
fn clone(&self) -> ListContainerNamespaces
Returns a copy 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<'de> Deserialize<'de> for ListContainerNamespaces
impl<'de> Deserialize<'de> for ListContainerNamespaces
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListContainerNamespaces, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListContainerNamespaces, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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