podman_rest_client/v5/models/inspect_blkio_throttle_device.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// InspectBlkioThrottleDevice holds information about a speed cap for a device
4/// node. This cap applies to a specific operation (read, write, etc) on the given
5/// node.
6pub struct InspectBlkioThrottleDevice {
7 /// Path is the path to the device this applies to.
8 #[serde(rename = "Path")]
9 pub path: Option<String>,
10 /// Rate is the maximum rate. It is in either bytes per second or iops
11 /// per second, determined by where it is used - documentation will
12 /// indicate which is appropriate.
13 #[serde(rename = "Rate")]
14 pub rate: Option<u64>,
15}