pub struct ExtendedSwitch {
pub src_vlan: u32,
pub src_priority: u32,
pub dst_vlan: u32,
pub dst_priority: u32,
}Fields§
§src_vlan: u32§src_priority: u32§dst_vlan: u32§dst_priority: u32Trait Implementations§
Source§impl Clone for ExtendedSwitch
impl Clone for ExtendedSwitch
Source§fn clone(&self) -> ExtendedSwitch
fn clone(&self) -> ExtendedSwitch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedSwitch
impl Debug for ExtendedSwitch
Source§impl<'de> Deserialize<'de> for ExtendedSwitch
impl<'de> Deserialize<'de> for ExtendedSwitch
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
Source§impl PartialEq for ExtendedSwitch
impl PartialEq for ExtendedSwitch
Source§impl Serialize for ExtendedSwitch
impl Serialize for ExtendedSwitch
impl Eq for ExtendedSwitch
impl StructuralPartialEq for ExtendedSwitch
Auto Trait Implementations§
impl Freeze for ExtendedSwitch
impl RefUnwindSafe for ExtendedSwitch
impl Send for ExtendedSwitch
impl Sync for ExtendedSwitch
impl Unpin for ExtendedSwitch
impl UnsafeUnpin for ExtendedSwitch
impl UnwindSafe for ExtendedSwitch
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