Struct wlan_stash_constants::PersistentData
source · pub struct PersistentData {
pub credential: Credential,
pub has_ever_connected: bool,
}
Expand description
The data that will be stored between reboots of a device. Used to convert the data between JSON and network config.
Fields§
§credential: Credential
§has_ever_connected: bool
Trait Implementations§
source§impl Clone for PersistentData
impl Clone for PersistentData
source§fn clone(&self) -> PersistentData
fn clone(&self) -> PersistentData
Returns a copy 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 PersistentData
impl Debug for PersistentData
source§impl<'de> Deserialize<'de> for PersistentData
impl<'de> Deserialize<'de> for PersistentData
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<PersistentData> for PersistentData
impl PartialEq<PersistentData> for PersistentData
source§fn eq(&self, other: &PersistentData) -> bool
fn eq(&self, other: &PersistentData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.