Struct k8s_openapi::api::resource::v1alpha1::ResourceClassParametersReference
source · pub struct ResourceClassParametersReference {
pub api_group: Option<String>,
pub kind: String,
pub name: String,
pub namespace: Option<String>,
}
Expand description
ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
Fields§
§api_group: Option<String>
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
kind: String
Kind is the type of resource being referenced. This is the same value as in the parameter object’s metadata.
name: String
Name is the name of resource being referenced.
namespace: Option<String>
Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.
Trait Implementations§
source§impl Clone for ResourceClassParametersReference
impl Clone for ResourceClassParametersReference
source§fn clone(&self) -> ResourceClassParametersReference
fn clone(&self) -> ResourceClassParametersReference
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 DeepMerge for ResourceClassParametersReference
impl DeepMerge for ResourceClassParametersReference
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceClassParametersReference
impl Default for ResourceClassParametersReference
source§fn default() -> ResourceClassParametersReference
fn default() -> ResourceClassParametersReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceClassParametersReference
impl<'de> Deserialize<'de> for ResourceClassParametersReference
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<ResourceClassParametersReference> for ResourceClassParametersReference
impl PartialEq<ResourceClassParametersReference> for ResourceClassParametersReference
source§fn eq(&self, other: &ResourceClassParametersReference) -> bool
fn eq(&self, other: &ResourceClassParametersReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.