pub struct WirelessLink {
pub rx_bitrate_mbps: Option<f32>,
pub tx_bitrate_mbps: Option<f32>,
pub signal_dbm: Option<i32>,
}Expand description
State of a Wi-Fi link.
Fields§
§rx_bitrate_mbps: Option<f32>Current receive bit rate in Mbit/s.
tx_bitrate_mbps: Option<f32>Current transmit bit rate in Mbit/s.
signal_dbm: Option<i32>Signal strength in dBm.
Trait Implementations§
Source§impl Clone for WirelessLink
impl Clone for WirelessLink
Source§impl Debug for WirelessLink
impl Debug for WirelessLink
Source§impl Default for WirelessLink
impl Default for WirelessLink
Source§impl<'de> Deserialize<'de> for WirelessLinkwhere
WirelessLink: Default,
impl<'de> Deserialize<'de> for WirelessLinkwhere
WirelessLink: Default,
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 WirelessLink
impl RefUnwindSafe for WirelessLink
impl Send for WirelessLink
impl Sync for WirelessLink
impl Unpin for WirelessLink
impl UnsafeUnpin for WirelessLink
impl UnwindSafe for WirelessLink
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