Enum qapi_qga::GuestDeviceId
source · pub enum GuestDeviceId {
pci(GuestDeviceIdPCI),
}
Variants§
pci(GuestDeviceIdPCI)
Implementations§
source§impl GuestDeviceId
impl GuestDeviceId
pub fn type_(&self) -> GuestDeviceType
Trait Implementations§
source§impl Clone for GuestDeviceId
impl Clone for GuestDeviceId
source§fn clone(&self) -> GuestDeviceId
fn clone(&self) -> GuestDeviceId
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 GuestDeviceId
impl Debug for GuestDeviceId
source§impl<'de> Deserialize<'de> for GuestDeviceId
impl<'de> Deserialize<'de> for GuestDeviceId
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
source§impl From<GuestDeviceIdPCI> for GuestDeviceId
impl From<GuestDeviceIdPCI> for GuestDeviceId
source§fn from(val: GuestDeviceIdPCI) -> Self
fn from(val: GuestDeviceIdPCI) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for GuestDeviceId
impl Send for GuestDeviceId
impl Sync for GuestDeviceId
impl Unpin for GuestDeviceId
impl UnwindSafe for GuestDeviceId
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