Struct qapi_qmp::RockerPort
source · pub struct RockerPort {
pub speed: u32,
pub autoneg: RockerPortAutoneg,
pub link_up: bool,
pub duplex: RockerPortDuplex,
pub name: String,
pub enabled: bool,
}
Fields§
§speed: u32
§autoneg: RockerPortAutoneg
§link_up: bool
§duplex: RockerPortDuplex
§name: String
§enabled: bool
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