pub struct Select {
pub device_vendor: String,
pub device_name: Option<String>,
pub device_variant: Option<String>,
pub processor_name: Option<String>,
}Expand description
Represents the PDSC select element
Specifies the device or device variant this generator targets.
Either device_name or device_variant must be present.
Fields§
§device_vendor: StringSilicon vendor of the targeted device (e.g. "STMicroelectronics:13")
device_name: Option<String>Device name or wildcard pattern; required if device_variant is absent
device_variant: Option<String>Device variant; required if device_name is absent
processor_name: Option<String>Processor name for multi-core devices
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Select
impl<'de> Deserialize<'de> for Select
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 Select
impl StructuralPartialEq for Select
Auto Trait Implementations§
impl Freeze for Select
impl RefUnwindSafe for Select
impl Send for Select
impl Sync for Select
impl Unpin for Select
impl UnsafeUnpin for Select
impl UnwindSafe for Select
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