pub struct WirelessConnection {
pub signal_strength: u8,
pub signal_strength_max: u8,
pub type_: WirelessConnectionType,
pub connected: bool,
}Fields§
§signal_strength: u8The current signal strength.
signal_strength_max: u8The maximum signal strength recorded.
type_: WirelessConnectionTypeThe type of wireless connection.
connected: boolWhether the connection is connected.
Trait Implementations§
Source§impl Clone for WirelessConnection
impl Clone for WirelessConnection
Source§fn clone(&self) -> WirelessConnection
fn clone(&self) -> WirelessConnection
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 WirelessConnection
impl Debug for WirelessConnection
Source§impl<'de> Deserialize<'de> for WirelessConnection
impl<'de> Deserialize<'de> for WirelessConnection
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
Source§impl PartialEq for WirelessConnection
impl PartialEq for WirelessConnection
Source§impl Serialize for WirelessConnection
impl Serialize for WirelessConnection
impl Eq for WirelessConnection
impl StructuralPartialEq for WirelessConnection
Auto Trait Implementations§
impl Freeze for WirelessConnection
impl RefUnwindSafe for WirelessConnection
impl Send for WirelessConnection
impl Sync for WirelessConnection
impl Unpin for WirelessConnection
impl UnwindSafe for WirelessConnection
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