pub struct RawNetworkPatch {
pub iface_id: String,
pub rx_rate_limiter: Option<Value>,
pub tx_rate_limiter: Option<Value>,
}Expand description
Raw /network-interfaces/{id} PATCH body.
Fields§
§iface_id: StringInterface ID being patched (must match the URL {id}).
rx_rate_limiter: Option<Value>Replacement RX rate limiter.
tx_rate_limiter: Option<Value>Replacement TX rate limiter.
Trait Implementations§
Source§impl Clone for RawNetworkPatch
impl Clone for RawNetworkPatch
Source§fn clone(&self) -> RawNetworkPatch
fn clone(&self) -> RawNetworkPatch
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 RawNetworkPatch
impl Debug for RawNetworkPatch
Source§impl<'de> Deserialize<'de> for RawNetworkPatch
impl<'de> Deserialize<'de> for RawNetworkPatch
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 TryFrom<RawNetworkPatch> for NetworkPatch
impl TryFrom<RawNetworkPatch> for NetworkPatch
Auto Trait Implementations§
impl Freeze for RawNetworkPatch
impl RefUnwindSafe for RawNetworkPatch
impl Send for RawNetworkPatch
impl Sync for RawNetworkPatch
impl Unpin for RawNetworkPatch
impl UnsafeUnpin for RawNetworkPatch
impl UnwindSafe for RawNetworkPatch
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