Struct qapi_qmp::PciDeviceInfo
source · [−]pub struct PciDeviceInfo {
pub irq_pin: i32,
pub function: i32,
pub class_info: PciDeviceClass,
pub id: PciDeviceId,
pub pci_bridge: Option<PciBridgeInfo>,
pub regions: Vec<PciMemoryRegion>,
pub slot: i32,
pub qdev_id: String,
pub bus: i32,
pub irq: Option<i32>,
}Fields
irq_pin: i32function: i32class_info: PciDeviceClassid: PciDeviceIdpci_bridge: Option<PciBridgeInfo>regions: Vec<PciMemoryRegion>slot: i32qdev_id: Stringbus: i32irq: Option<i32>Trait Implementations
sourceimpl Clone for PciDeviceInfo
impl Clone for PciDeviceInfo
sourcefn clone(&self) -> PciDeviceInfo
fn clone(&self) -> PciDeviceInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PciDeviceInfo
impl Debug for PciDeviceInfo
sourceimpl<'de> Deserialize<'de> for PciDeviceInfo
impl<'de> Deserialize<'de> for PciDeviceInfo
sourcefn 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
sourceimpl Serialize for PciDeviceInfo
impl Serialize for PciDeviceInfo
Auto Trait Implementations
impl RefUnwindSafe for PciDeviceInfo
impl Send for PciDeviceInfo
impl Sync for PciDeviceInfo
impl Unpin for PciDeviceInfo
impl UnwindSafe for PciDeviceInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more