Struct netplan_types::DummyDeviceConfig
source · pub struct DummyDeviceConfig {
pub common_all: Option<CommonPropertiesAllDevices>,
}Expand description
Purpose: Use the dummy-devices key to create virtual interfaces.
Structure: The key consists of a mapping of interface names. Dummy devices are virtual devices that can be used to route packets to without actually transmitting them.
Fields§
§common_all: Option<CommonPropertiesAllDevices>Common properties for all devices
Trait Implementations§
source§impl Clone for DummyDeviceConfig
impl Clone for DummyDeviceConfig
source§fn clone(&self) -> DummyDeviceConfig
fn clone(&self) -> DummyDeviceConfig
Returns a copy 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 DummyDeviceConfig
impl Debug for DummyDeviceConfig
source§impl Default for DummyDeviceConfig
impl Default for DummyDeviceConfig
source§fn default() -> DummyDeviceConfig
fn default() -> DummyDeviceConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DummyDeviceConfig
impl<'de> Deserialize<'de> for DummyDeviceConfig
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<DummyDeviceConfig> for DummyDeviceConfig
impl PartialEq<DummyDeviceConfig> for DummyDeviceConfig
source§fn eq(&self, other: &DummyDeviceConfig) -> bool
fn eq(&self, other: &DummyDeviceConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DummyDeviceConfig
impl Serialize for DummyDeviceConfig
impl Eq for DummyDeviceConfig
impl StructuralEq for DummyDeviceConfig
impl StructuralPartialEq for DummyDeviceConfig
Auto Trait Implementations§
impl RefUnwindSafe for DummyDeviceConfig
impl Send for DummyDeviceConfig
impl Sync for DummyDeviceConfig
impl Unpin for DummyDeviceConfig
impl UnwindSafe for DummyDeviceConfig
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