Struct k8s_openapi::api::resource::v1alpha2::ResourceClaimTemplate
source · pub struct ResourceClaimTemplate {
pub metadata: ObjectMeta,
pub spec: ResourceClaimTemplateSpec,
}
Expand description
ResourceClaimTemplate is used to produce ResourceClaim objects.
Fields§
§metadata: ObjectMeta
Standard object metadata
spec: ResourceClaimTemplateSpec
Describes the ResourceClaim that is to be generated.
This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
Trait Implementations§
source§impl Clone for ResourceClaimTemplate
impl Clone for ResourceClaimTemplate
source§fn clone(&self) -> ResourceClaimTemplate
fn clone(&self) -> ResourceClaimTemplate
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 ResourceClaimTemplate
impl Debug for ResourceClaimTemplate
source§impl DeepMerge for ResourceClaimTemplate
impl DeepMerge for ResourceClaimTemplate
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceClaimTemplate
impl Default for ResourceClaimTemplate
source§fn default() -> ResourceClaimTemplate
fn default() -> ResourceClaimTemplate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceClaimTemplate
impl<'de> Deserialize<'de> for ResourceClaimTemplate
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 Metadata for ResourceClaimTemplate
impl Metadata for ResourceClaimTemplate
source§impl PartialEq<ResourceClaimTemplate> for ResourceClaimTemplate
impl PartialEq<ResourceClaimTemplate> for ResourceClaimTemplate
source§fn eq(&self, other: &ResourceClaimTemplate) -> bool
fn eq(&self, other: &ResourceClaimTemplate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Resource for ResourceClaimTemplate
impl Resource for ResourceClaimTemplate
source§const API_VERSION: &'static str = "resource.k8s.io/v1alpha2"
const API_VERSION: &'static str = "resource.k8s.io/v1alpha2"
The API version of the resource. This is a composite of
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read moresource§const GROUP: &'static str = "resource.k8s.io"
const GROUP: &'static str = "resource.k8s.io"
The group of the resource, or the empty string if the resource doesn’t have a group.
source§const URL_PATH_SEGMENT: &'static str = "resourceclaimtemplates"
const URL_PATH_SEGMENT: &'static str = "resourceclaimtemplates"
The URL path segment used to construct URLs related to this resource. Read more
§type Scope = NamespaceResourceScope
type Scope = NamespaceResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
source§impl Serialize for ResourceClaimTemplate
impl Serialize for ResourceClaimTemplate
impl StructuralPartialEq for ResourceClaimTemplate
Auto Trait Implementations§
impl RefUnwindSafe for ResourceClaimTemplate
impl Send for ResourceClaimTemplate
impl Sync for ResourceClaimTemplate
impl Unpin for ResourceClaimTemplate
impl UnwindSafe for ResourceClaimTemplate
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