#[non_exhaustive]pub struct NetworkTraffic {Show 15 fields
pub bytes: Option<i64>,
pub bytes_in: Option<i64>,
pub bytes_missed: Option<i64>,
pub bytes_out: Option<i64>,
pub chunks: Option<i64>,
pub chunks_in: Option<i64>,
pub chunks_out: Option<i64>,
pub end_time: Option<i64>,
pub end_time_dt: Option<String>,
pub packets: Option<i64>,
pub packets_in: Option<i64>,
pub packets_out: Option<i64>,
pub start_time: Option<i64>,
pub start_time_dt: Option<String>,
pub timespan: Option<Box<Timespan>>,
}Expand description
Network Traffic
The Network Traffic object describes characteristics of network traffic over a time period. The metrics represent network data transferred between source and destination during an observation window.
[] Category: | Name: network_traffic
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bytes: Option<i64>Total Bytes
The total number of bytes transferred in both directions (sum of bytes_in and bytes_out).
recommended
bytes_in: Option<i64>Bytes In
The number of bytes sent from the destination to the source (inbound direction).
optional
bytes_missed: Option<i64>Bytes Missed
The number of bytes that were missed during observation, typically due to packet loss or sampling limitations.
optional
bytes_out: Option<i64>Bytes Out
The number of bytes sent from the source to the destination (outbound direction).
optional
chunks: Option<i64>Chunks
The total number of chunks transferred in both directions (sum of chunks_in and chunks_out).
optional
chunks_in: Option<i64>Chunks In
The number of chunks sent from the destination to the source (inbound direction).
optional
chunks_out: Option<i64>Chunks Out
The number of chunks sent from the source to the destination (outbound direction).
optional
end_time: Option<i64>End Time
The end time of the observation or reporting period.
optional
end_time_dt: Option<String>End Time
The end time of the observation or reporting period.
optional
packets: Option<i64>Total Packets
The total number of packets transferred in both directions (sum of packets_in and packets_out).
recommended
packets_in: Option<i64>Packets In
The number of packets sent from the destination to the source (inbound direction).
optional
packets_out: Option<i64>Packets Out
The number of packets sent from the source to the destination (outbound direction).
optional
start_time: Option<i64>Start Time
The start time of the observation or reporting period.
optional
start_time_dt: Option<String>Start Time
The start time of the observation or reporting period.
optional
timespan: Option<Box<Timespan>>Time Span
The time span object representing the duration of the observation or reporting period.
optional
Trait Implementations§
Source§impl Clone for NetworkTraffic
impl Clone for NetworkTraffic
Source§fn clone(&self) -> NetworkTraffic
fn clone(&self) -> NetworkTraffic
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more