pub struct WifiSection {
pub mode: Option<String>,
pub channel: Option<u8>,
pub sta_ssid: Option<String>,
}Expand description
[WiFi] section in show-config.
Fields§
§mode: Option<String>node_mode — sniffer | station | esp-now-central | esp-now-peripheral.
channel: Option<u8>channel — u8. Valid Wi-Fi 2.4 GHz: 1..=14.
sta_ssid: Option<String>sta_ssid — UTF-8, ≤ 32 B.
Trait Implementations§
Source§impl Clone for WifiSection
impl Clone for WifiSection
Source§fn clone(&self) -> WifiSection
fn clone(&self) -> WifiSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WifiSection
impl Debug for WifiSection
Source§impl Default for WifiSection
impl Default for WifiSection
Source§fn default() -> WifiSection
fn default() -> WifiSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WifiSection
impl<'de> Deserialize<'de> for WifiSection
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 WifiSection
impl RefUnwindSafe for WifiSection
impl Send for WifiSection
impl Sync for WifiSection
impl Unpin for WifiSection
impl UnsafeUnpin for WifiSection
impl UnwindSafe for WifiSection
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