podman_rest_client/v5/models/
inspect_blkio_weight_device.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// InspectBlkioWeightDevice holds information about the relative weight
4/// of an individual device node. Weights are used in the I/O scheduler to give
5/// relative priority to some accesses.
6pub struct InspectBlkioWeightDevice {
7    /// Path is the path to the device this applies to.
8    #[serde(rename = "Path")]
9    pub path: Option<String>,
10    /// Weight is the relative weight the scheduler will use when scheduling
11    /// I/O.
12    #[serde(rename = "Weight")]
13    pub weight: Option<u16>,
14}