pub struct SwitchInterfaceConfig { /* private fields */ }Implementations§
Source§impl SwitchInterfaceConfig
impl SwitchInterfaceConfig
pub fn id<T>(self, value: T) -> Self
pub fn interface_name<T>(self, value: T) -> Self
pub fn kind<T>(self, value: T) -> Self
pub fn port_settings_id<T>(self, value: T) -> Self
pub fn v6_enabled<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for SwitchInterfaceConfig
impl Clone for SwitchInterfaceConfig
Source§fn clone(&self) -> SwitchInterfaceConfig
fn clone(&self) -> SwitchInterfaceConfig
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 SwitchInterfaceConfig
impl Debug for SwitchInterfaceConfig
Source§impl Default for SwitchInterfaceConfig
impl Default for SwitchInterfaceConfig
Source§impl From<SwitchInterfaceConfig> for SwitchInterfaceConfig
impl From<SwitchInterfaceConfig> for SwitchInterfaceConfig
Source§fn from(value: SwitchInterfaceConfig) -> Self
fn from(value: SwitchInterfaceConfig) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SwitchInterfaceConfig> for SwitchInterfaceConfig
impl TryFrom<SwitchInterfaceConfig> for SwitchInterfaceConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SwitchInterfaceConfig) -> Result<Self, ConversionError>
fn try_from(value: SwitchInterfaceConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SwitchInterfaceConfig
impl RefUnwindSafe for SwitchInterfaceConfig
impl Send for SwitchInterfaceConfig
impl Sync for SwitchInterfaceConfig
impl Unpin for SwitchInterfaceConfig
impl UnsafeUnpin for SwitchInterfaceConfig
impl UnwindSafe for SwitchInterfaceConfig
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