Struct k8s_openapi::api::resource::v1alpha2::ResourceFilter
source · pub struct ResourceFilter {
pub driver_name: Option<String>,
pub named_resources: Option<NamedResourcesFilter>,
}
Expand description
ResourceFilter is a filter for resources from one particular driver.
Fields§
§driver_name: Option<String>
DriverName is the name used by the DRA driver kubelet plugin.
named_resources: Option<NamedResourcesFilter>
NamedResources describes a resource filter using the named resources model.
Trait Implementations§
source§impl Clone for ResourceFilter
impl Clone for ResourceFilter
source§fn clone(&self) -> ResourceFilter
fn clone(&self) -> ResourceFilter
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 ResourceFilter
impl Debug for ResourceFilter
source§impl DeepMerge for ResourceFilter
impl DeepMerge for ResourceFilter
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceFilter
impl Default for ResourceFilter
source§fn default() -> ResourceFilter
fn default() -> ResourceFilter
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceFilter
impl<'de> Deserialize<'de> for ResourceFilter
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 ResourceFilter
impl PartialEq for ResourceFilter
source§fn eq(&self, other: &ResourceFilter) -> bool
fn eq(&self, other: &ResourceFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResourceFilter
impl Serialize for ResourceFilter
impl StructuralPartialEq for ResourceFilter
Auto Trait Implementations§
impl Freeze for ResourceFilter
impl RefUnwindSafe for ResourceFilter
impl Send for ResourceFilter
impl Sync for ResourceFilter
impl Unpin for ResourceFilter
impl UnwindSafe for ResourceFilter
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