pub struct InterfaceMode {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>access- Access *tagged- Tagged *tagged-all- Tagged (All) *q-in-q- Q-in-Q (802.1ad)
label: Option<Label>Implementations§
Source§impl InterfaceMode
impl InterfaceMode
pub fn new() -> InterfaceMode
Trait Implementations§
Source§impl Clone for InterfaceMode
impl Clone for InterfaceMode
Source§fn clone(&self) -> InterfaceMode
fn clone(&self) -> InterfaceMode
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 InterfaceMode
impl Debug for InterfaceMode
Source§impl Default for InterfaceMode
impl Default for InterfaceMode
Source§fn default() -> InterfaceMode
fn default() -> InterfaceMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InterfaceMode
impl<'de> Deserialize<'de> for InterfaceMode
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 InterfaceMode
impl PartialEq for InterfaceMode
Source§impl Serialize for InterfaceMode
impl Serialize for InterfaceMode
impl StructuralPartialEq for InterfaceMode
Auto Trait Implementations§
impl Freeze for InterfaceMode
impl RefUnwindSafe for InterfaceMode
impl Send for InterfaceMode
impl Sync for InterfaceMode
impl Unpin for InterfaceMode
impl UnwindSafe for InterfaceMode
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