pub struct RawNetworkInterfaceConfig {
pub iface_id: String,
pub host_dev_name: String,
pub guest_mac: Option<String>,
pub rx_rate_limiter: Option<Value>,
pub tx_rate_limiter: Option<Value>,
}Expand description
Raw /network-interfaces/{id} PUT body off the wire.
Fields§
§iface_id: StringInterface identifier.
host_dev_name: StringCaller-supplied host device name. Squib maps it to a vmnet handle name.
guest_mac: Option<String>Optional guest MAC address; auto-generated when absent.
rx_rate_limiter: Option<Value>RX rate limiter passthrough.
tx_rate_limiter: Option<Value>TX rate limiter passthrough.
Trait Implementations§
Source§impl Clone for RawNetworkInterfaceConfig
impl Clone for RawNetworkInterfaceConfig
Source§fn clone(&self) -> RawNetworkInterfaceConfig
fn clone(&self) -> RawNetworkInterfaceConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawNetworkInterfaceConfig
impl Debug for RawNetworkInterfaceConfig
Source§impl<'de> Deserialize<'de> for RawNetworkInterfaceConfig
impl<'de> Deserialize<'de> for RawNetworkInterfaceConfig
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
Auto Trait Implementations§
impl Freeze for RawNetworkInterfaceConfig
impl RefUnwindSafe for RawNetworkInterfaceConfig
impl Send for RawNetworkInterfaceConfig
impl Sync for RawNetworkInterfaceConfig
impl Unpin for RawNetworkInterfaceConfig
impl UnsafeUnpin for RawNetworkInterfaceConfig
impl UnwindSafe for RawNetworkInterfaceConfig
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