pub struct Ap {
pub ssid: Option<String>,
pub pskl: Option<usize>,
pub chan: Option<u8>,
pub hide: Option<u8>,
pub behav: Option<ApBehaviourEnum>,
pub ip: Option<[u8; 4]>,
}
Expand description
Information about the access point that the ESP hosts when enabled, or when connecting to other AP fails
Fields§
§ssid: Option<String>
SSID of local AP
pskl: Option<usize>
Length of AP password (password is wled1234 by default if I remember correctly)
chan: Option<u8>
2.4GHz WiFi AP channel (1-13)
hide: Option<u8>
hidden AP SSID, no idea why this is a byte but it is
behav: Option<ApBehaviourEnum>
access point opens when no connection after boot by default
ip: Option<[u8; 4]>
IP to host the website when on AP (default 4.3.2.1)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ap
impl<'de> Deserialize<'de> for Ap
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 Ap
Auto Trait Implementations§
impl Freeze for Ap
impl RefUnwindSafe for Ap
impl Send for Ap
impl Sync for Ap
impl Unpin for Ap
impl UnwindSafe for Ap
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