pub struct CompatibleDevice {
pub device_index: Option<String>,
pub device_vendor: Option<String>,
pub device_name: Option<String>,
pub device_family: Option<String>,
pub device_sub_family: Option<String>,
}Expand description
Represents a PDSC compatibleDevice element
Fields§
§device_index: Option<String>Device index for multi-device boards
device_vendor: Option<String>Device vendor (use "NO_VENDOR:0" for incompatible configurations); valid values: DeviceVendorEnum
device_name: Option<String>Device name or wildcard pattern
device_family: Option<String>Device family name
device_sub_family: Option<String>Device sub-family name
Trait Implementations§
Source§impl Clone for CompatibleDevice
impl Clone for CompatibleDevice
Source§fn clone(&self) -> CompatibleDevice
fn clone(&self) -> CompatibleDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompatibleDevice
impl Debug for CompatibleDevice
Source§impl Default for CompatibleDevice
impl Default for CompatibleDevice
Source§fn default() -> CompatibleDevice
fn default() -> CompatibleDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompatibleDevice
impl<'de> Deserialize<'de> for CompatibleDevice
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
impl Eq for CompatibleDevice
Source§impl PartialEq for CompatibleDevice
impl PartialEq for CompatibleDevice
Source§impl Serialize for CompatibleDevice
impl Serialize for CompatibleDevice
impl StructuralPartialEq for CompatibleDevice
Auto Trait Implementations§
impl Freeze for CompatibleDevice
impl RefUnwindSafe for CompatibleDevice
impl Send for CompatibleDevice
impl Sync for CompatibleDevice
impl Unpin for CompatibleDevice
impl UnsafeUnpin for CompatibleDevice
impl UnwindSafe for CompatibleDevice
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