Struct k8s_openapi::api::apiserverinternal::v1alpha1::StorageVersion
source · pub struct StorageVersion {
pub metadata: ObjectMeta,
pub spec: StorageVersionSpec,
pub status: StorageVersionStatus,
}
Expand description
Storage version of a specific resource.
Fields§
§metadata: ObjectMeta
The name is <group>.<resource>.
spec: StorageVersionSpec
Spec is an empty spec. It is here to comply with Kubernetes API style.
status: StorageVersionStatus
API server instances report the version they can decode and the version they encode objects to when persisting objects in the backend.
Trait Implementations§
source§impl Clone for StorageVersion
impl Clone for StorageVersion
source§fn clone(&self) -> StorageVersion
fn clone(&self) -> StorageVersion
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 StorageVersion
impl Debug for StorageVersion
source§impl DeepMerge for StorageVersion
impl DeepMerge for StorageVersion
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for StorageVersion
impl Default for StorageVersion
source§fn default() -> StorageVersion
fn default() -> StorageVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StorageVersion
impl<'de> Deserialize<'de> for StorageVersion
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 ListableResource for StorageVersion
impl ListableResource for StorageVersion
source§impl Metadata for StorageVersion
impl Metadata for StorageVersion
source§impl PartialEq for StorageVersion
impl PartialEq for StorageVersion
source§fn eq(&self, other: &StorageVersion) -> bool
fn eq(&self, other: &StorageVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Resource for StorageVersion
impl Resource for StorageVersion
source§const API_VERSION: &'static str = "internal.apiserver.k8s.io/v1alpha1"
const API_VERSION: &'static str = "internal.apiserver.k8s.io/v1alpha1"
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 = "internal.apiserver.k8s.io"
const GROUP: &'static str = "internal.apiserver.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 = "storageversions"
const URL_PATH_SEGMENT: &'static str = "storageversions"
The URL path segment used to construct URLs related to this resource. Read more
§type Scope = ClusterResourceScope
type Scope = ClusterResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
source§impl Serialize for StorageVersion
impl Serialize for StorageVersion
impl StructuralPartialEq for StorageVersion
Auto Trait Implementations§
impl RefUnwindSafe for StorageVersion
impl Send for StorageVersion
impl Sync for StorageVersion
impl Unpin for StorageVersion
impl UnwindSafe for StorageVersion
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