pub struct VLanNetworkInterface {
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<((char<{ _ }>, V, L, a, n, N), (e, t, w, o, r, k), (I, n, t, e, r, f), (a, c, e, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, V), (L, a, n, (N, e, t, w), (o, r, k, I, n, t), (e, r, f, a, c, e)))>,
pub actions: Option<Actions>,
pub description: Option<Description>,
pub id: Id,
pub name: Name,
pub oem: Option<Oem>,
pub vlan_enable: Option<bool>,
pub vlan_id: Option<VLANId>,
pub vlan_priority: Option<VLANPriority>,
}
Expand description
The VLanNetworkInterface schema describes a VLAN network instance that is available on a manager, system, or other device.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<((char<{ _ }>, V, L, a, n, N), (e, t, w, o, r, k), (I, n, t, e, r, f), (a, c, e, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, V), (L, a, n, (N, e, t, w), (o, r, k, I, n, t), (e, r, f, a, c, e)))>
§actions: Option<Actions>
§description: Option<Description>
§id: Id
§name: Name
§oem: Option<Oem>
§vlan_enable: Option<bool>
An indication of whether this VLAN is enabled for this interface.
vlan_id: Option<VLANId>
§vlan_priority: Option<VLANPriority>
Trait Implementations§
source§impl Clone for VLanNetworkInterface
impl Clone for VLanNetworkInterface
source§fn clone(&self) -> VLanNetworkInterface
fn clone(&self) -> VLanNetworkInterface
Returns a copy 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 VLanNetworkInterface
impl Debug for VLanNetworkInterface
source§impl Default for VLanNetworkInterface
impl Default for VLanNetworkInterface
source§fn default() -> VLanNetworkInterface
fn default() -> VLanNetworkInterface
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VLanNetworkInterface
impl<'de> Deserialize<'de> for VLanNetworkInterface
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