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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.