pub struct ApplyPortsRequest {
pub ports: Vec<ApplyPortEntry>,
}Expand description
One switch’s port configuration described as a single resource.
Fields§
§ports: Vec<ApplyPortEntry>Per-port overrides to splice into the device’s port_overrides.
Ports not listed here keep their existing override unchanged
(splice semantics — see the from-file plan for details).
Trait Implementations§
Source§impl Clone for ApplyPortsRequest
impl Clone for ApplyPortsRequest
Source§fn clone(&self) -> ApplyPortsRequest
fn clone(&self) -> ApplyPortsRequest
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 ApplyPortsRequest
impl Debug for ApplyPortsRequest
Source§impl Default for ApplyPortsRequest
impl Default for ApplyPortsRequest
Source§fn default() -> ApplyPortsRequest
fn default() -> ApplyPortsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplyPortsRequest
impl<'de> Deserialize<'de> for ApplyPortsRequest
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 ApplyPortsRequest
impl RefUnwindSafe for ApplyPortsRequest
impl Send for ApplyPortsRequest
impl Sync for ApplyPortsRequest
impl Unpin for ApplyPortsRequest
impl UnsafeUnpin for ApplyPortsRequest
impl UnwindSafe for ApplyPortsRequest
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