#[non_exhaustive]pub struct VlanMap {
pub operation: Option<String>,
pub tag_protocol_id: Option<String>,
pub vlan_id: Option<String>,
pub inner_tag_protocol_id: Option<String>,
pub inner_vlan_id: Option<String>,
}Expand description
An input-vlan-map or output-vlan-map.
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.operation: Option<String>pop, pop-pop, pop-swap, push, push-push, swap, swap-push or swap-swap.
tag_protocol_id: Option<String>§vlan_id: Option<String>§inner_tag_protocol_id: Option<String>§inner_vlan_id: Option<String>Trait Implementations§
impl Eq for VlanMap
impl StructuralPartialEq for VlanMap
Auto Trait Implementations§
impl Forget for VlanMap
impl Freeze for VlanMap
impl Move for VlanMap
impl RefUnwindSafe for VlanMap
impl Send for VlanMap
impl Sync for VlanMap
impl Unpin for VlanMap
impl UnsafeUnpin for VlanMap
impl UnwindSafe for VlanMap
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