Struct qapi_qga::GuestDeviceIdPCI
source · pub struct GuestDeviceIdPCI {
pub device_id: u16,
pub vendor_id: u16,
}
Fields§
§device_id: u16
§vendor_id: u16
Trait Implementations§
source§impl Clone for GuestDeviceIdPCI
impl Clone for GuestDeviceIdPCI
source§fn clone(&self) -> GuestDeviceIdPCI
fn clone(&self) -> GuestDeviceIdPCI
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 GuestDeviceIdPCI
impl Debug for GuestDeviceIdPCI
source§impl<'de> Deserialize<'de> for GuestDeviceIdPCI
impl<'de> Deserialize<'de> for GuestDeviceIdPCI
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 GuestDeviceIdPCI
impl Send for GuestDeviceIdPCI
impl Sync for GuestDeviceIdPCI
impl Unpin for GuestDeviceIdPCI
impl UnwindSafe for GuestDeviceIdPCI
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