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 JsonSchema for ResourceClassParametersReference
impl JsonSchema for ResourceClassParametersReference
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for ResourceClassParametersReference
impl PartialEq 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 ==
.impl StructuralPartialEq for ResourceClassParametersReference
Auto Trait Implementations§
impl Freeze for ResourceClassParametersReference
impl RefUnwindSafe for ResourceClassParametersReference
impl Send for ResourceClassParametersReference
impl Sync for ResourceClassParametersReference
impl Unpin for ResourceClassParametersReference
impl UnwindSafe for ResourceClassParametersReference
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