podman_rest_client/v5/models/
weight_device.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// WeightDevice is a structure that holds device:weight pair
4pub struct WeightDevice {
5    #[serde(rename = "Path")]
6    pub path: Option<String>,
7    #[serde(rename = "Weight")]
8    pub weight: Option<u16>,
9}