#[non_exhaustive]pub struct VlanTags {
pub outer: Option<String>,
pub inner: Option<String>,
pub inner_range: Option<String>,
pub inner_list: Vec<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.
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>.
inner_list: Vec<String>From inner-list [ <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 VlanTagswhere
RawVecInner: Send,
impl Sync for VlanTagswhere
RawVecInner: Sync,
impl Unpin for VlanTags
impl UnsafeUnpin for VlanTagswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for VlanTagswhere
RawVecInner: UnwindSafe,
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