Struct podman_api::models::ContainerCgroupConfig
source · pub struct ContainerCgroupConfig {
pub cgroup_parent: Option<String>,
pub cgroupns: Option<Namespace>,
pub cgroups_mode: Option<String>,
}
Expand description
ContainerCgroupConfig contains configuration information about a container’s cgroups.
Fields§
§cgroup_parent: Option<String>
CgroupParent is the container’s Cgroup parent. If not set, the default for the current cgroup driver will be used. Optional.
cgroupns: Option<Namespace>
§cgroups_mode: Option<String>
CgroupsMode sets a policy for how cgroups will be created in the container, including the ability to disable creation entirely.
Trait Implementations§
source§impl Clone for ContainerCgroupConfig
impl Clone for ContainerCgroupConfig
source§fn clone(&self) -> ContainerCgroupConfig
fn clone(&self) -> ContainerCgroupConfig
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 ContainerCgroupConfig
impl Debug for ContainerCgroupConfig
source§impl<'de> Deserialize<'de> for ContainerCgroupConfig
impl<'de> Deserialize<'de> for ContainerCgroupConfig
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerCgroupConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerCgroupConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ContainerCgroupConfig> for ContainerCgroupConfig
impl PartialEq<ContainerCgroupConfig> for ContainerCgroupConfig
source§fn eq(&self, other: &ContainerCgroupConfig) -> bool
fn eq(&self, other: &ContainerCgroupConfig) -> bool
source§impl Serialize for ContainerCgroupConfig
impl Serialize for ContainerCgroupConfig
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