podman_rest_client/v5/models/
linux_block_io.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// LinuxBlockIO for Linux cgroup 'blkio' resource management
4pub struct LinuxBlockIo {
5    /// Specifies tasks' weight in the given cgroup while competing with the cgroup's child cgroups, CFQ scheduler only
6    #[serde(rename = "leafWeight")]
7    pub leaf_weight: Option<u16>,
8    /// IO read rate limit per cgroup per device, bytes per second
9    #[serde(rename = "throttleReadBpsDevice")]
10    pub throttle_read_bps_device: Option<Vec<crate::v5::models::LinuxThrottleDevice>>,
11    /// IO read rate limit per cgroup per device, IO per second
12    #[serde(rename = "throttleReadIOPSDevice")]
13    pub throttle_read_iops_device: Option<Vec<crate::v5::models::LinuxThrottleDevice>>,
14    /// IO write rate limit per cgroup per device, bytes per second
15    #[serde(rename = "throttleWriteBpsDevice")]
16    pub throttle_write_bps_device: Option<Vec<crate::v5::models::LinuxThrottleDevice>>,
17    /// IO write rate limit per cgroup per device, IO per second
18    #[serde(rename = "throttleWriteIOPSDevice")]
19    pub throttle_write_iops_device: Option<Vec<crate::v5::models::LinuxThrottleDevice>>,
20    /// Specifies per cgroup weight
21    pub weight: Option<u16>,
22    /// Weight per cgroup per device, can override BlkioWeight
23    #[serde(rename = "weightDevice")]
24    pub weight_device: Option<Vec<crate::v5::models::LinuxWeightDevice>>,
25}