pub struct Vlan {
pub vlan_enable: Option<Option<Boolean>>,
pub vlanid: Option<Option<Vlanid>>,
pub vlan_priority: Option<Option<VlanPriority>>,
pub tagged: Option<Option<Boolean>>,
}Fields§
§vlan_enable: Option<Option<Boolean>>An indication of whether this VLAN is enabled for this VLAN network interface.
This property shall indicate whether this VLAN is enabled for this VLAN network interface.
vlanid: Option<Option<Vlanid>>The ID for this VLAN.
This property shall contain the ID for this VLAN.
vlan_priority: Option<Option<VlanPriority>>The priority for this VLAN.
This property shall contain the priority for this VLAN.
tagged: Option<Option<Boolean>>An indication of whether this VLAN is tagged or untagged for this interface.
This property shall indicate whether this VLAN is tagged or untagged for this interface.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vlan
impl<'de> Deserialize<'de> for Vlan
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
Auto Trait Implementations§
impl Freeze for Vlan
impl RefUnwindSafe for Vlan
impl Send for Vlan
impl Sync for Vlan
impl Unpin for Vlan
impl UnsafeUnpin for Vlan
impl UnwindSafe for Vlan
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