Struct netplan_types::WifiConfig
source · [−]pub struct WifiConfig {
pub access_points: Option<HashMap<String, AccessPointConfig>>,
pub wakeonwlan: Option<Vec<WakeOnWLan>>,
pub common_physical: Option<CommonPropertiesPhysicalDeviceType>,
pub common_all: Option<CommonPropertiesAllDevices>,
}Fields
access_points: Option<HashMap<String, AccessPointConfig>>This provides pre-configured connections to NetworkManager. Note that users can of course select other access points/SSIDs. The keys of the mapping are the SSIDs, and the values are mappings with the following supported properties:
wakeonwlan: Option<Vec<WakeOnWLan>>This enables WakeOnWLan on supported devices. Not all drivers support all options. May be any combination of any, disconnect, magic_pkt, gtk_rekey_failure, eap_identity_req, four_way_handshake, rfkill_release or tcp (NetworkManager only). Or the exclusive default flag (the default).
common_physical: Option<CommonPropertiesPhysicalDeviceType>Common properties for physical device types
common_all: Option<CommonPropertiesAllDevices>Common properties for all devices
Trait Implementations
sourceimpl Clone for WifiConfig
impl Clone for WifiConfig
sourcefn clone(&self) -> WifiConfig
fn clone(&self) -> WifiConfig
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 WifiConfig
impl Debug for WifiConfig
sourceimpl Default for WifiConfig
impl Default for WifiConfig
sourcefn default() -> WifiConfig
fn default() -> WifiConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for WifiConfig
impl<'de> Deserialize<'de> for WifiConfig
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<WifiConfig> for WifiConfig
impl PartialEq<WifiConfig> for WifiConfig
sourcefn eq(&self, other: &WifiConfig) -> bool
fn eq(&self, other: &WifiConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &WifiConfig) -> bool
fn ne(&self, other: &WifiConfig) -> bool
This method tests for !=.
sourceimpl Serialize for WifiConfig
impl Serialize for WifiConfig
impl Eq for WifiConfig
impl StructuralEq for WifiConfig
impl StructuralPartialEq for WifiConfig
Auto Trait Implementations
impl RefUnwindSafe for WifiConfig
impl Send for WifiConfig
impl Sync for WifiConfig
impl Unpin for WifiConfig
impl UnwindSafe for WifiConfig
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)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more