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