Struct podman_rest_client::models::PodCgroupConfig
source · pub struct PodCgroupConfig {
pub cgroup_parent: Option<String>,
}
Expand description
PodCgroupConfig : This will be expanded in future updates to pods.
Fields§
§cgroup_parent: Option<String>
CgroupParent is the parent for the Cgroup that the pod will create. This pod cgroup will, in turn, be the default cgroup parent for all containers in the pod. Optional.
Implementations§
source§impl PodCgroupConfig
impl PodCgroupConfig
sourcepub fn new() -> PodCgroupConfig
pub fn new() -> PodCgroupConfig
This will be expanded in future updates to pods.
Trait Implementations§
source§impl Clone for PodCgroupConfig
impl Clone for PodCgroupConfig
source§fn clone(&self) -> PodCgroupConfig
fn clone(&self) -> PodCgroupConfig
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 PodCgroupConfig
impl Debug for PodCgroupConfig
source§impl Default for PodCgroupConfig
impl Default for PodCgroupConfig
source§fn default() -> PodCgroupConfig
fn default() -> PodCgroupConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PodCgroupConfig
impl<'de> Deserialize<'de> for PodCgroupConfig
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PodCgroupConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PodCgroupConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for PodCgroupConfig
impl PartialEq for PodCgroupConfig
source§fn eq(&self, other: &PodCgroupConfig) -> bool
fn eq(&self, other: &PodCgroupConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PodCgroupConfig
impl Serialize for PodCgroupConfig
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 PodCgroupConfig
Auto Trait Implementations§
impl Freeze for PodCgroupConfig
impl RefUnwindSafe for PodCgroupConfig
impl Send for PodCgroupConfig
impl Sync for PodCgroupConfig
impl Unpin for PodCgroupConfig
impl UnwindSafe for PodCgroupConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)