#[non_exhaustive]pub struct VlanTranslation {
pub from: String,
pub to: String,
}Expand description
A translate <from> <to> of vlan-rewrite.
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.from: String§to: StringTrait Implementations§
Source§impl Clone for VlanTranslation
impl Clone for VlanTranslation
Source§impl Debug for VlanTranslation
impl Debug for VlanTranslation
impl Eq for VlanTranslation
Source§impl PartialEq for VlanTranslation
impl PartialEq for VlanTranslation
impl StructuralPartialEq for VlanTranslation
Auto Trait Implementations§
impl Forget for VlanTranslation
impl Freeze for VlanTranslation
impl Move for VlanTranslation
impl RefUnwindSafe for VlanTranslation
impl Send for VlanTranslationwhere
RawVecInner: Send,
impl Sync for VlanTranslationwhere
RawVecInner: Sync,
impl Unpin for VlanTranslation
impl UnsafeUnpin for VlanTranslation
impl UnwindSafe for VlanTranslationwhere
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