pub struct WirelessLink {Show 20 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub interface_a: Box<BriefInterface>,
pub interface_b: Box<BriefInterface>,
pub ssid: Option<String>,
pub status: Option<Box<CableStatus>>,
pub tenant: Option<Option<Box<BriefTenant>>>,
pub auth_type: Option<Box<WirelessLanAuthType>>,
pub auth_cipher: Option<Box<WirelessLanAuthCipher>>,
pub auth_psk: Option<String>,
pub distance: Option<Option<f64>>,
pub distance_unit: Option<Option<Box<CircuitDistanceUnit>>>,
pub description: Option<String>,
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
WirelessLink : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§interface_a: Box<BriefInterface>§interface_b: Box<BriefInterface>§ssid: Option<String>§status: Option<Box<CableStatus>>§tenant: Option<Option<Box<BriefTenant>>>§auth_type: Option<Box<WirelessLanAuthType>>§auth_cipher: Option<Box<WirelessLanAuthCipher>>§auth_psk: Option<String>§distance: Option<Option<f64>>§distance_unit: Option<Option<Box<CircuitDistanceUnit>>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl WirelessLink
impl WirelessLink
Sourcepub fn new(
interface_a: BriefInterface,
interface_b: BriefInterface,
) -> WirelessLink
pub fn new( interface_a: BriefInterface, interface_b: BriefInterface, ) -> WirelessLink
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for WirelessLink
impl Clone for WirelessLink
Source§fn clone(&self) -> WirelessLink
fn clone(&self) -> WirelessLink
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 WirelessLink
impl Debug for WirelessLink
Source§impl Default for WirelessLink
impl Default for WirelessLink
Source§fn default() -> WirelessLink
fn default() -> WirelessLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WirelessLink
impl<'de> Deserialize<'de> for WirelessLink
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 WirelessLink
impl PartialEq for WirelessLink
Source§impl Serialize for WirelessLink
impl Serialize for WirelessLink
impl StructuralPartialEq for WirelessLink
Auto Trait Implementations§
impl Freeze for WirelessLink
impl RefUnwindSafe for WirelessLink
impl Send for WirelessLink
impl Sync for WirelessLink
impl Unpin for WirelessLink
impl UnwindSafe for WirelessLink
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