Struct k8s_openapi::api::apiserverinternal::v1alpha1::StorageVersionStatus
source · pub struct StorageVersionStatus {
pub common_encoding_version: Option<String>,
pub conditions: Option<Vec<StorageVersionCondition>>,
pub storage_versions: Option<Vec<ServerStorageVersion>>,
}
Expand description
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
Fields§
§common_encoding_version: Option<String>
If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.
conditions: Option<Vec<StorageVersionCondition>>
The latest available observations of the storageVersion’s state.
storage_versions: Option<Vec<ServerStorageVersion>>
The reported versions per API server instance.
Trait Implementations§
source§impl Clone for StorageVersionStatus
impl Clone for StorageVersionStatus
source§fn clone(&self) -> StorageVersionStatus
fn clone(&self) -> StorageVersionStatus
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 StorageVersionStatus
impl Debug for StorageVersionStatus
source§impl DeepMerge for StorageVersionStatus
impl DeepMerge for StorageVersionStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for StorageVersionStatus
impl Default for StorageVersionStatus
source§fn default() -> StorageVersionStatus
fn default() -> StorageVersionStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StorageVersionStatus
impl<'de> Deserialize<'de> for StorageVersionStatus
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 StorageVersionStatus
impl PartialEq for StorageVersionStatus
source§fn eq(&self, other: &StorageVersionStatus) -> bool
fn eq(&self, other: &StorageVersionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StorageVersionStatus
impl Serialize for StorageVersionStatus
impl StructuralPartialEq for StorageVersionStatus
Auto Trait Implementations§
impl Freeze for StorageVersionStatus
impl RefUnwindSafe for StorageVersionStatus
impl Send for StorageVersionStatus
impl Sync for StorageVersionStatus
impl Unpin for StorageVersionStatus
impl UnwindSafe for StorageVersionStatus
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