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