Struct k8s_openapi::api::resource::v1alpha3::ResourceClaimConsumerReference
source · pub struct ResourceClaimConsumerReference {
pub api_group: Option<String>,
pub name: String,
pub resource: String,
pub uid: String,
}
Expand description
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource 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.
name: String
Name is the name of resource being referenced.
resource: String
Resource is the type of resource being referenced, for example “pods”.
uid: String
UID identifies exactly one incarnation of the resource.
Trait Implementations§
source§impl Clone for ResourceClaimConsumerReference
impl Clone for ResourceClaimConsumerReference
source§fn clone(&self) -> ResourceClaimConsumerReference
fn clone(&self) -> ResourceClaimConsumerReference
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 ResourceClaimConsumerReference
impl DeepMerge for ResourceClaimConsumerReference
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceClaimConsumerReference
impl Default for ResourceClaimConsumerReference
source§fn default() -> ResourceClaimConsumerReference
fn default() -> ResourceClaimConsumerReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceClaimConsumerReference
impl<'de> Deserialize<'de> for ResourceClaimConsumerReference
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 ResourceClaimConsumerReference
impl PartialEq for ResourceClaimConsumerReference
source§fn eq(&self, other: &ResourceClaimConsumerReference) -> bool
fn eq(&self, other: &ResourceClaimConsumerReference) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResourceClaimConsumerReference
Auto Trait Implementations§
impl Freeze for ResourceClaimConsumerReference
impl RefUnwindSafe for ResourceClaimConsumerReference
impl Send for ResourceClaimConsumerReference
impl Sync for ResourceClaimConsumerReference
impl Unpin for ResourceClaimConsumerReference
impl UnwindSafe for ResourceClaimConsumerReference
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
)