Struct k8s_openapi::api::resource::v1alpha2::ResourceClaimParametersReference
source · pub struct ResourceClaimParametersReference {
pub api_group: Option<String>,
pub kind: String,
pub name: String,
}
Expand description
ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.
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, for example “ConfigMap”.
name: String
Name is the name of resource being referenced.
Trait Implementations§
source§impl Clone for ResourceClaimParametersReference
impl Clone for ResourceClaimParametersReference
source§fn clone(&self) -> ResourceClaimParametersReference
fn clone(&self) -> ResourceClaimParametersReference
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 ResourceClaimParametersReference
impl DeepMerge for ResourceClaimParametersReference
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceClaimParametersReference
impl Default for ResourceClaimParametersReference
source§fn default() -> ResourceClaimParametersReference
fn default() -> ResourceClaimParametersReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceClaimParametersReference
impl<'de> Deserialize<'de> for ResourceClaimParametersReference
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<ResourceClaimParametersReference> for ResourceClaimParametersReference
impl PartialEq<ResourceClaimParametersReference> for ResourceClaimParametersReference
source§fn eq(&self, other: &ResourceClaimParametersReference) -> bool
fn eq(&self, other: &ResourceClaimParametersReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceClaimParametersReference
Auto Trait Implementations§
impl RefUnwindSafe for ResourceClaimParametersReference
impl Send for ResourceClaimParametersReference
impl Sync for ResourceClaimParametersReference
impl Unpin for ResourceClaimParametersReference
impl UnwindSafe for ResourceClaimParametersReference
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