#[non_exhaustive]pub struct VlanTags {
pub outer: Option<String>,
pub inner: Option<String>,
pub inner_range: Option<String>,
}Expand description
The vlan-tags of a dual-tagged unit. Each tag is written <tpid>.<vlan-id>, e.g. "0x8100.100", or as a bare
VLAN ID. inner-list is not extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.outer: Option<String>§inner: Option<String>§inner_range: Option<String>From inner-range <tpid>.<vlan-id>-<vlan-id>.
Trait Implementations§
impl Eq for VlanTags
impl StructuralPartialEq for VlanTags
Auto Trait Implementations§
impl Forget for VlanTags
impl Freeze for VlanTags
impl Move for VlanTags
impl RefUnwindSafe for VlanTags
impl Send for VlanTags
impl Sync for VlanTags
impl Unpin for VlanTags
impl UnsafeUnpin for VlanTags
impl UnwindSafe for VlanTags
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