podman_rest_client/v5/models/
container_resource_config.rs1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3pub struct ContainerResourceConfig {
5 #[serde(rename = "intelRdt")]
6 pub intel_rdt: Option<crate::v5::models::LinuxIntelRdt>,
7 pub oom_score_adj: Option<i64>,
11 pub r_limits: Option<Vec<crate::v5::models::PosixRlimit>>,
14 pub resource_limits: Option<crate::v5::models::LinuxResources>,
15 #[serde(rename = "throttleReadBpsDevice")]
17 pub throttle_read_bps_device:
18 Option<std::collections::HashMap<String, crate::v5::models::LinuxThrottleDevice>>,
19 #[serde(rename = "throttleReadIOPSDevice")]
21 pub throttle_read_iops_device:
22 Option<std::collections::HashMap<String, crate::v5::models::LinuxThrottleDevice>>,
23 #[serde(rename = "throttleWriteBpsDevice")]
25 pub throttle_write_bps_device:
26 Option<std::collections::HashMap<String, crate::v5::models::LinuxThrottleDevice>>,
27 #[serde(rename = "throttleWriteIOPSDevice")]
29 pub throttle_write_iops_device:
30 Option<std::collections::HashMap<String, crate::v5::models::LinuxThrottleDevice>>,
31 pub unified: Option<std::collections::HashMap<String, String>>,
35 #[serde(rename = "weightDevice")]
37 pub weight_device:
38 Option<std::collections::HashMap<String, crate::v5::models::LinuxWeightDevice>>,
39}