Struct podman_api_stubs::models::LinuxMemory [−][src]
pub struct LinuxMemory {
pub disable_oom_killer: Option<bool>,
pub kernel: Option<i64>,
pub kernel_tcp: Option<i64>,
pub limit: Option<i64>,
pub reservation: Option<i64>,
pub swap: Option<i64>,
pub swappiness: Option<i64>,
pub use_hierarchy: Option<bool>,
}
Expand description
LinuxMemory for Linux cgroup ‘memory’ resource management
Fields
disable_oom_killer: Option<bool>
kernel: Option<i64>
kernel_tcp: Option<i64>
limit: Option<i64>
reservation: Option<i64>
swap: Option<i64>
swappiness: Option<i64>
use_hierarchy: Option<bool>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LinuxMemory
impl Send for LinuxMemory
impl Sync for LinuxMemory
impl Unpin for LinuxMemory
impl UnwindSafe for LinuxMemory
Blanket Implementations
Mutably borrows from an owned value. Read more