pub struct Network {
pub ssid: Option<String>,
pub rssi: Option<i32>,
pub bssid: Option<String>,
pub channel: Option<i32>,
pub enc: Option<ApBehaviourEnum>,
}
Fields§
§ssid: Option<String>
SSID
rssi: Option<i32>
RSSI
bssid: Option<String>
String MAC / BSSID of scanned wifi
channel: Option<i32>
Wifi channel. normally these are 1-14 but WLED source uses i32 at time of writing
enc: Option<ApBehaviourEnum>
encryption type (enum wl_enc_type) of the specified item on the networks scanned list
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Network
impl<'de> Deserialize<'de> for Network
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
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
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