Struct qapi_qmp::NetdevHubPortOptions
source · pub struct NetdevHubPortOptions {
pub netdev: Option<String>,
pub hubid: i32,
}
Fields§
§netdev: Option<String>
§hubid: i32
Trait Implementations§
source§impl Clone for NetdevHubPortOptions
impl Clone for NetdevHubPortOptions
source§fn clone(&self) -> NetdevHubPortOptions
fn clone(&self) -> NetdevHubPortOptions
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 NetdevHubPortOptions
impl Debug for NetdevHubPortOptions
source§impl<'de> Deserialize<'de> for NetdevHubPortOptions
impl<'de> Deserialize<'de> for NetdevHubPortOptions
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 NetdevHubPortOptions
impl Send for NetdevHubPortOptions
impl Sync for NetdevHubPortOptions
impl Unpin for NetdevHubPortOptions
impl UnwindSafe for NetdevHubPortOptions
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