pub struct DeviceClaimConfiguration {
pub opaque: Option<OpaqueDeviceConfiguration>,
pub requests: Option<Vec<String>>,
}
Expand description
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
Fields§
§opaque: Option<OpaqueDeviceConfiguration>
Opaque provides driver-specific configuration parameters.
requests: Option<Vec<String>>
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
Trait Implementations§
Source§impl Clone for DeviceClaimConfiguration
impl Clone for DeviceClaimConfiguration
Source§fn clone(&self) -> DeviceClaimConfiguration
fn clone(&self) -> DeviceClaimConfiguration
Returns a copy of the value. Read more
1.0.0 · 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 DeviceClaimConfiguration
impl Debug for DeviceClaimConfiguration
Source§impl DeepMerge for DeviceClaimConfiguration
impl DeepMerge for DeviceClaimConfiguration
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for DeviceClaimConfiguration
impl Default for DeviceClaimConfiguration
Source§fn default() -> DeviceClaimConfiguration
fn default() -> DeviceClaimConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceClaimConfiguration
impl<'de> Deserialize<'de> for DeviceClaimConfiguration
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 PartialEq for DeviceClaimConfiguration
impl PartialEq for DeviceClaimConfiguration
Source§impl Serialize for DeviceClaimConfiguration
impl Serialize for DeviceClaimConfiguration
impl StructuralPartialEq for DeviceClaimConfiguration
Auto Trait Implementations§
impl Freeze for DeviceClaimConfiguration
impl RefUnwindSafe for DeviceClaimConfiguration
impl Send for DeviceClaimConfiguration
impl Sync for DeviceClaimConfiguration
impl Unpin for DeviceClaimConfiguration
impl UnwindSafe for DeviceClaimConfiguration
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