pub struct StatEntry {
pub timestamp: DateTime<Utc>,
pub wan_tx_bytes: Option<u64>,
pub wan_rx_bytes: Option<u64>,
pub num_sta: Option<u32>,
pub lan_num_sta: Option<u32>,
pub wlan_num_sta: Option<u32>,
pub latency: Option<f64>,
pub extra: Value,
}Expand description
A single stats entry within a report.
Fields§
§timestamp: DateTime<Utc>§wan_tx_bytes: Option<u64>§wan_rx_bytes: Option<u64>§num_sta: Option<u32>§lan_num_sta: Option<u32>§wlan_num_sta: Option<u32>§latency: Option<f64>§extra: ValueCatch-all for stat-specific fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StatEntry
impl<'de> Deserialize<'de> for StatEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StatEntry
impl RefUnwindSafe for StatEntry
impl Send for StatEntry
impl Sync for StatEntry
impl Unpin for StatEntry
impl UnsafeUnpin for StatEntry
impl UnwindSafe for StatEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more