pub struct DeviceSelector {
pub cel: Option<CELDeviceSelector>,
}
Expand description
DeviceSelector must have exactly one field set.
Fields§
§cel: Option<CELDeviceSelector>
CEL contains a CEL expression for selecting a device.
Trait Implementations§
Source§impl Clone for DeviceSelector
impl Clone for DeviceSelector
Source§fn clone(&self) -> DeviceSelector
fn clone(&self) -> DeviceSelector
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 DeviceSelector
impl Debug for DeviceSelector
Source§impl DeepMerge for DeviceSelector
impl DeepMerge for DeviceSelector
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for DeviceSelector
impl Default for DeviceSelector
Source§fn default() -> DeviceSelector
fn default() -> DeviceSelector
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceSelector
impl<'de> Deserialize<'de> for DeviceSelector
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 DeviceSelector
impl PartialEq for DeviceSelector
Source§impl Serialize for DeviceSelector
impl Serialize for DeviceSelector
impl StructuralPartialEq for DeviceSelector
Auto Trait Implementations§
impl Freeze for DeviceSelector
impl RefUnwindSafe for DeviceSelector
impl Send for DeviceSelector
impl Sync for DeviceSelector
impl Unpin for DeviceSelector
impl UnwindSafe for DeviceSelector
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