Struct k8s_openapi::api::resource::v1alpha3::DeviceSelector
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)