podman_rest_client/v5/models/
container_network_stats.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// Statistics for an individual container network interface
4pub struct ContainerNetworkStats {
5    #[serde(rename = "RxBytes")]
6    pub rx_bytes: Option<u64>,
7    #[serde(rename = "RxDropped")]
8    pub rx_dropped: Option<u64>,
9    #[serde(rename = "RxErrors")]
10    pub rx_errors: Option<u64>,
11    #[serde(rename = "RxPackets")]
12    pub rx_packets: Option<u64>,
13    #[serde(rename = "TxBytes")]
14    pub tx_bytes: Option<u64>,
15    #[serde(rename = "TxDropped")]
16    pub tx_dropped: Option<u64>,
17    #[serde(rename = "TxErrors")]
18    pub tx_errors: Option<u64>,
19    #[serde(rename = "TxPackets")]
20    pub tx_packets: Option<u64>,
21}