pub struct WirelessInfo {
pub ssid: Option<String>,
pub bssid: Option<MacAddress>,
pub channel: Option<u32>,
pub frequency_ghz: Option<f32>,
pub signal_dbm: Option<i32>,
pub noise_dbm: Option<i32>,
pub satisfaction: Option<u8>,
pub tx_rate_kbps: Option<u64>,
pub rx_rate_kbps: Option<u64>,
}Expand description
Wireless connection details (only present for wireless clients).
Fields§
§ssid: Option<String>§bssid: Option<MacAddress>§channel: Option<u32>§frequency_ghz: Option<f32>§signal_dbm: Option<i32>§noise_dbm: Option<i32>§satisfaction: Option<u8>§tx_rate_kbps: Option<u64>§rx_rate_kbps: Option<u64>Trait Implementations§
Source§impl Clone for WirelessInfo
impl Clone for WirelessInfo
Source§fn clone(&self) -> WirelessInfo
fn clone(&self) -> WirelessInfo
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 WirelessInfo
impl Debug for WirelessInfo
Source§impl<'de> Deserialize<'de> for WirelessInfo
impl<'de> Deserialize<'de> for WirelessInfo
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 WirelessInfo
impl RefUnwindSafe for WirelessInfo
impl Send for WirelessInfo
impl Sync for WirelessInfo
impl Unpin for WirelessInfo
impl UnsafeUnpin for WirelessInfo
impl UnwindSafe for WirelessInfo
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