pub struct WritableWirelessLanRequest {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<Option<AuthType>>,
pub auth_cipher: Option<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
WritableWirelessLanRequest : 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<Option<AuthType>>open- Open *wep- WEP *wpa-personal- WPA Personal (PSK) *wpa-enterprise- WPA Enterprise
auth_cipher: Option<Option<AuthCipher>>auto- Auto *tkip- TKIP *aes- AES
auth_psk: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl WritableWirelessLanRequest
impl WritableWirelessLanRequest
Sourcepub fn new(ssid: String) -> WritableWirelessLanRequest
pub fn new(ssid: String) -> WritableWirelessLanRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for WritableWirelessLanRequest
impl Clone for WritableWirelessLanRequest
Source§fn clone(&self) -> WritableWirelessLanRequest
fn clone(&self) -> WritableWirelessLanRequest
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 WritableWirelessLanRequest
impl Debug for WritableWirelessLanRequest
Source§impl Default for WritableWirelessLanRequest
impl Default for WritableWirelessLanRequest
Source§fn default() -> WritableWirelessLanRequest
fn default() -> WritableWirelessLanRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableWirelessLanRequest
impl<'de> Deserialize<'de> for WritableWirelessLanRequest
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 WritableWirelessLanRequest
Auto Trait Implementations§
impl Freeze for WritableWirelessLanRequest
impl RefUnwindSafe for WritableWirelessLanRequest
impl Send for WritableWirelessLanRequest
impl Sync for WritableWirelessLanRequest
impl Unpin for WritableWirelessLanRequest
impl UnwindSafe for WritableWirelessLanRequest
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