Struct podman_api_stubs::models::LinuxResources [−][src]
pub struct LinuxResources {
pub block_io: Option<LinuxBlockIo>,
pub cpu: Option<LinuxCpu>,
pub devices: Option<Vec<LinuxDeviceCgroup>>,
pub hugepage_limits: Option<Vec<LinuxHugepageLimit>>,
pub memory: Option<LinuxMemory>,
pub network: Option<LinuxNetwork>,
pub pids: Option<LinuxPids>,
pub rdma: Option<HashMap<String, LinuxRdma>>,
pub unified: Option<HashMap<String, String>>,
}
Expand description
LinuxResources has container runtime resource constraints
Fields
block_io: Option<LinuxBlockIo>
cpu: Option<LinuxCpu>
devices: Option<Vec<LinuxDeviceCgroup>>
hugepage_limits: Option<Vec<LinuxHugepageLimit>>
memory: Option<LinuxMemory>
network: Option<LinuxNetwork>
pids: Option<LinuxPids>
rdma: Option<HashMap<String, LinuxRdma>>
unified: Option<HashMap<String, String>>
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 LinuxResources
impl Send for LinuxResources
impl Sync for LinuxResources
impl Unpin for LinuxResources
impl UnwindSafe for LinuxResources
Blanket Implementations
Mutably borrows from an owned value. Read more