pub struct WirelessLan {Show 22 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub ssid: String,
pub description: Option<String>,
pub group: Option<Option<Box<BriefWirelessLanGroup>>>,
pub status: Option<Box<WirelessLanStatus>>,
pub vlan: Option<Option<Box<BriefVlan>>>,
pub scope_type: Option<Option<String>>,
pub scope_id: Option<Option<i32>>,
pub scope: Option<Option<Value>>,
pub tenant: Option<Option<Box<BriefTenant>>>,
pub auth_type: Option<Box<WirelessLanAuthType>>,
pub auth_cipher: Option<Box<WirelessLanAuthCipher>>,
pub auth_psk: Option<String>,
pub owner: Option<Option<Box<BriefOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
}Expand description
WirelessLan : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§ssid: String§description: Option<String>§group: Option<Option<Box<BriefWirelessLanGroup>>>§status: Option<Box<WirelessLanStatus>>§vlan: Option<Option<Box<BriefVlan>>>§scope_type: Option<Option<String>>§scope_id: Option<Option<i32>>§scope: Option<Option<Value>>§tenant: Option<Option<Box<BriefTenant>>>§auth_type: Option<Box<WirelessLanAuthType>>§auth_cipher: Option<Box<WirelessLanAuthCipher>>§auth_psk: Option<String>§owner: Option<Option<Box<BriefOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl WirelessLan
impl WirelessLan
Sourcepub fn new(ssid: String) -> WirelessLan
pub fn new(ssid: String) -> WirelessLan
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for WirelessLan
impl Clone for WirelessLan
Source§fn clone(&self) -> WirelessLan
fn clone(&self) -> WirelessLan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WirelessLan
impl Debug for WirelessLan
Source§impl Default for WirelessLan
impl Default for WirelessLan
Source§fn default() -> WirelessLan
fn default() -> WirelessLan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WirelessLan
impl<'de> Deserialize<'de> for WirelessLan
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 WirelessLan
impl PartialEq for WirelessLan
Source§fn eq(&self, other: &WirelessLan) -> bool
fn eq(&self, other: &WirelessLan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WirelessLan
impl Serialize for WirelessLan
impl StructuralPartialEq for WirelessLan
Auto Trait Implementations§
impl Freeze for WirelessLan
impl RefUnwindSafe for WirelessLan
impl Send for WirelessLan
impl Sync for WirelessLan
impl Unpin for WirelessLan
impl UnsafeUnpin for WirelessLan
impl UnwindSafe for WirelessLan
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