pub struct EthernetVlanInfo {
pub vlan_name: String,
pub vlan_id: u16,
}
Expand description
Provides information about the VLAN of an EthernetPhysicalChannel
Fields§
§vlan_name: String
The name of the VLAN
vlan_id: u16
The VLAN ID which is transmitted in the ethernet frame
Trait Implementations§
Source§impl Clone for EthernetVlanInfo
impl Clone for EthernetVlanInfo
Source§fn clone(&self) -> EthernetVlanInfo
fn clone(&self) -> EthernetVlanInfo
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 EthernetVlanInfo
impl Debug for EthernetVlanInfo
Source§impl PartialEq for EthernetVlanInfo
impl PartialEq for EthernetVlanInfo
impl StructuralPartialEq for EthernetVlanInfo
Auto Trait Implementations§
impl Freeze for EthernetVlanInfo
impl RefUnwindSafe for EthernetVlanInfo
impl Send for EthernetVlanInfo
impl Sync for EthernetVlanInfo
impl Unpin for EthernetVlanInfo
impl UnwindSafe for EthernetVlanInfo
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