pub struct ResourceClaimTemplateSpec {
pub metadata: Option<ObjectMeta>,
pub spec: ResourceClaimSpec,
}
Expand description
ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
Fields§
§metadata: Option<ObjectMeta>
ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.
spec: ResourceClaimSpec
Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
Trait Implementations§
Source§impl Clone for ResourceClaimTemplateSpec
impl Clone for ResourceClaimTemplateSpec
Source§fn clone(&self) -> ResourceClaimTemplateSpec
fn clone(&self) -> ResourceClaimTemplateSpec
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 Debug for ResourceClaimTemplateSpec
impl Debug for ResourceClaimTemplateSpec
Source§impl DeepMerge for ResourceClaimTemplateSpec
impl DeepMerge for ResourceClaimTemplateSpec
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for ResourceClaimTemplateSpec
impl Default for ResourceClaimTemplateSpec
Source§fn default() -> ResourceClaimTemplateSpec
fn default() -> ResourceClaimTemplateSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceClaimTemplateSpec
impl<'de> Deserialize<'de> for ResourceClaimTemplateSpec
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 ResourceClaimTemplateSpec
Auto Trait Implementations§
impl Freeze for ResourceClaimTemplateSpec
impl RefUnwindSafe for ResourceClaimTemplateSpec
impl Send for ResourceClaimTemplateSpec
impl Sync for ResourceClaimTemplateSpec
impl Unpin for ResourceClaimTemplateSpec
impl UnwindSafe for ResourceClaimTemplateSpec
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