pub struct HealthSummary {
pub subsystem: String,
pub status: String,
pub num_adopted: Option<u32>,
pub num_sta: Option<u32>,
pub tx_bytes_r: Option<u64>,
pub rx_bytes_r: Option<u64>,
pub latency: Option<f64>,
pub wan_ip: Option<String>,
pub gateways: Option<Vec<String>>,
pub extra: Value,
}Expand description
Health summary for a subsystem (from Session stat/health).
Fields§
§subsystem: StringSubsystem: “www”, “wlan”, “wan”, “lan”, “vpn”
status: StringStatus: “ok”, “warn”, “error”
num_adopted: Option<u32>§num_sta: Option<u32>§tx_bytes_r: Option<u64>§rx_bytes_r: Option<u64>§latency: Option<f64>§wan_ip: Option<String>§gateways: Option<Vec<String>>§extra: ValueTrait Implementations§
Source§impl Clone for HealthSummary
impl Clone for HealthSummary
Source§fn clone(&self) -> HealthSummary
fn clone(&self) -> HealthSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HealthSummary
impl Debug for HealthSummary
Source§impl<'de> Deserialize<'de> for HealthSummary
impl<'de> Deserialize<'de> for HealthSummary
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 HealthSummary
impl RefUnwindSafe for HealthSummary
impl Send for HealthSummary
impl Sync for HealthSummary
impl Unpin for HealthSummary
impl UnsafeUnpin for HealthSummary
impl UnwindSafe for HealthSummary
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