pub struct Ota {
pub lock: Option<bool>,
pub lock_wifi: Option<bool>,
pub pskl: Option<u8>,
pub aota: Option<bool>,
}
Fields§
§lock: Option<bool>
prevents OTA firmware updates without password. ALWAYS enable if system exposed to any public networks
lock_wifi: Option<bool>
prevents access to WiFi settings when OTA lock is enabled
pskl: Option<u8>
length of OTA password
aota: Option<bool>
ArduinoOTA allows easy updates directly from the IDE. Careful, it does not auto-disable when OTA lock is on
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ota
impl<'de> Deserialize<'de> for Ota
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 Ota
Auto Trait Implementations§
impl Freeze for Ota
impl RefUnwindSafe for Ota
impl Send for Ota
impl Sync for Ota
impl Unpin for Ota
impl UnwindSafe for Ota
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