Struct qapi_qmp::PciDeviceInfo
source · [−]pub struct PciDeviceInfo {
pub pci_bridge: Option<PciBridgeInfo>,
pub irq_pin: i32,
pub bus: i32,
pub id: PciDeviceId,
pub qdev_id: String,
pub irq: Option<i32>,
pub regions: Vec<PciMemoryRegion>,
pub function: i32,
pub slot: i32,
pub class_info: PciDeviceClass,
}Fields
pci_bridge: Option<PciBridgeInfo>irq_pin: i32bus: i32id: PciDeviceIdqdev_id: Stringirq: Option<i32>regions: Vec<PciMemoryRegion>function: i32slot: i32class_info: PciDeviceClassTrait 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