Struct qapi_qmp::RockerPort
source · pub struct RockerPort {
pub autoneg: RockerPortAutoneg,
pub duplex: RockerPortDuplex,
pub enabled: bool,
pub link_up: bool,
pub name: String,
pub speed: u32,
}
Fields§
§autoneg: RockerPortAutoneg
§duplex: RockerPortDuplex
§enabled: bool
§link_up: bool
§name: String
§speed: u32
Trait Implementations§
source§impl Clone for RockerPort
impl Clone for RockerPort
source§fn clone(&self) -> RockerPort
fn clone(&self) -> RockerPort
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 RockerPort
impl Debug for RockerPort
source§impl<'de> Deserialize<'de> for RockerPort
impl<'de> Deserialize<'de> for RockerPort
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 RefUnwindSafe for RockerPort
impl Send for RockerPort
impl Sync for RockerPort
impl Unpin for RockerPort
impl UnwindSafe for RockerPort
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