Struct embedded_svc::wifi::AccessPointConfiguration
source · [−]pub struct AccessPointConfiguration {
pub ssid: String,
pub ssid_hidden: bool,
pub channel: u8,
pub secondary_channel: Option<u8>,
pub protocols: EnumSet<Protocol>,
pub auth_method: AuthMethod,
pub password: String,
pub max_connections: u16,
pub ip_conf: Option<RouterConfiguration>,
}
Fields
ssid: String
channel: u8
secondary_channel: Option<u8>
protocols: EnumSet<Protocol>
auth_method: AuthMethod
password: String
max_connections: u16
ip_conf: Option<RouterConfiguration>
Implementations
sourceimpl AccessPointConfiguration
impl AccessPointConfiguration
pub fn as_ip_conf_ref(&self) -> Option<&RouterConfiguration>
pub fn as_ip_conf_mut(&mut self) -> &mut RouterConfiguration
Trait Implementations
sourceimpl Clone for AccessPointConfiguration
impl Clone for AccessPointConfiguration
sourcefn clone(&self) -> AccessPointConfiguration
fn clone(&self) -> AccessPointConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AccessPointConfiguration
impl Debug for AccessPointConfiguration
sourceimpl Default for AccessPointConfiguration
impl Default for AccessPointConfiguration
sourceimpl<'de> Deserialize<'de> for AccessPointConfiguration
impl<'de> Deserialize<'de> for AccessPointConfiguration
sourcefn 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
sourceimpl PartialEq<AccessPointConfiguration> for AccessPointConfiguration
impl PartialEq<AccessPointConfiguration> for AccessPointConfiguration
sourcefn eq(&self, other: &AccessPointConfiguration) -> bool
fn eq(&self, other: &AccessPointConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AccessPointConfiguration) -> bool
fn ne(&self, other: &AccessPointConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for AccessPointConfiguration
impl Serialize for AccessPointConfiguration
impl StructuralPartialEq for AccessPointConfiguration
Auto Trait Implementations
impl RefUnwindSafe for AccessPointConfiguration
impl Send for AccessPointConfiguration
impl Sync for AccessPointConfiguration
impl Unpin for AccessPointConfiguration
impl UnwindSafe for AccessPointConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more