pub struct PciId {
pub class_code: Option<String>,
pub device_id: Option<String>,
pub function_number: Option<i64>,
pub subsystem_id: Option<String>,
pub subsystem_vendor_id: Option<String>,
pub vendor_id: Option<String>,
}
Expand description
A PCI ID.
Fields§
§class_code: Option<String>
The Class Code, Subclass, and Programming Interface code of this PCIe function.
device_id: Option<String>
The Device ID of this PCIe function.
function_number: Option<i64>
The PCI ID of the connected entity.
subsystem_id: Option<String>
The Subsystem ID of this PCIe function.
subsystem_vendor_id: Option<String>
The Subsystem Vendor ID of this PCIe function.
vendor_id: Option<String>
The Vendor ID of this PCIe function.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PciId
impl<'de> Deserialize<'de> for PciId
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 Metadata<'static> for PciId
impl Metadata<'static> for PciId
Source§const JSON_SCHEMA: &'static str = "Endpoint.v1_8_0.json"
const JSON_SCHEMA: &'static str = "Endpoint.v1_8_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for PciId
impl RefUnwindSafe for PciId
impl Send for PciId
impl Sync for PciId
impl Unpin for PciId
impl UnwindSafe for PciId
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