pub struct WorkloadPodGroupResourceClaim {
pub name: String,
pub resource_claim_name: Option<String>,
pub resource_claim_template_name: Option<String>,
}Expand description
WorkloadPodGroupResourceClaim references a dynamic resource claim that is shared across pods in the group.
Fields§
§name: Stringname uniquely identifies this resource claim inside the group. This field is required. It must be a DNS_LABEL.
resource_claim_name: Option<String>resourceClaimName is the name of a ResourceClaim object in the same namespace. This field is optional. If it is not specified, no resource claim is used. If set, it must be a DNS subdomain.
resource_claim_template_name: Option<String>resourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace. This field is optional. If it is not specified, no resource claim template is used. If set, it must be a DNS subdomain.
Trait Implementations§
Source§impl DeepMerge for WorkloadPodGroupResourceClaim
impl DeepMerge for WorkloadPodGroupResourceClaim
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl<'de> Deserialize<'de> for WorkloadPodGroupResourceClaim
impl<'de> Deserialize<'de> for WorkloadPodGroupResourceClaim
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
impl StructuralPartialEq for WorkloadPodGroupResourceClaim
Auto Trait Implementations§
impl Freeze for WorkloadPodGroupResourceClaim
impl RefUnwindSafe for WorkloadPodGroupResourceClaim
impl Send for WorkloadPodGroupResourceClaim
impl Sync for WorkloadPodGroupResourceClaim
impl Unpin for WorkloadPodGroupResourceClaim
impl UnsafeUnpin for WorkloadPodGroupResourceClaim
impl UnwindSafe for WorkloadPodGroupResourceClaim
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