pub struct WirelessLanRequest {Show 14 fields
pub ssid: String,
pub description: Option<String>,
pub group: Option<Option<Box<PatchedWritableWirelessLanRequestGroup>>>,
pub status: Option<Status>,
pub vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>,
pub scope_type: Option<Option<String>>,
pub scope_id: Option<Option<i32>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub auth_type: Option<AuthType>,
pub auth_cipher: Option<AuthCipher>,
pub auth_psk: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
WirelessLanRequest : Adds support for custom fields and tags.
Fields§
§ssid: String§description: Option<String>§group: Option<Option<Box<PatchedWritableWirelessLanRequestGroup>>>§status: Option<Status>active- Active *reserved- Reserved *disabled- Disabled *deprecated- Deprecated
vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>§scope_type: Option<Option<String>>§scope_id: Option<Option<i32>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§auth_type: Option<AuthType>open- Open *wep- WEP *wpa-personal- WPA Personal (PSK) *wpa-enterprise- WPA Enterprise
auth_cipher: Option<AuthCipher>auto- Auto *tkip- TKIP *aes- AES
auth_psk: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl WirelessLanRequest
impl WirelessLanRequest
Sourcepub fn new(ssid: String) -> WirelessLanRequest
pub fn new(ssid: String) -> WirelessLanRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for WirelessLanRequest
impl Clone for WirelessLanRequest
Source§fn clone(&self) -> WirelessLanRequest
fn clone(&self) -> WirelessLanRequest
Returns a duplicate 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 WirelessLanRequest
impl Debug for WirelessLanRequest
Source§impl Default for WirelessLanRequest
impl Default for WirelessLanRequest
Source§fn default() -> WirelessLanRequest
fn default() -> WirelessLanRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WirelessLanRequest
impl<'de> Deserialize<'de> for WirelessLanRequest
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 for WirelessLanRequest
impl PartialEq for WirelessLanRequest
Source§impl Serialize for WirelessLanRequest
impl Serialize for WirelessLanRequest
impl StructuralPartialEq for WirelessLanRequest
Auto Trait Implementations§
impl Freeze for WirelessLanRequest
impl RefUnwindSafe for WirelessLanRequest
impl Send for WirelessLanRequest
impl Sync for WirelessLanRequest
impl Unpin for WirelessLanRequest
impl UnwindSafe for WirelessLanRequest
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