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