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
sourceimpl Clone for StorageVersionStatus
impl Clone for StorageVersionStatus
sourcefn clone(&self) -> StorageVersionStatus
fn clone(&self) -> StorageVersionStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StorageVersionStatus
impl Debug for StorageVersionStatus
sourceimpl DeepMerge for StorageVersionStatus
impl DeepMerge for StorageVersionStatus
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for StorageVersionStatus
impl Default for StorageVersionStatus
sourcefn default() -> StorageVersionStatus
fn default() -> StorageVersionStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StorageVersionStatus
impl<'de> Deserialize<'de> for StorageVersionStatus
sourcefn 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
sourceimpl PartialEq<StorageVersionStatus> for StorageVersionStatus
impl PartialEq<StorageVersionStatus> for StorageVersionStatus
sourcefn 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 ==
. Read more
sourceimpl Serialize for StorageVersionStatus
impl Serialize for StorageVersionStatus
impl StructuralPartialEq for StorageVersionStatus
Auto Trait Implementations
impl RefUnwindSafe for StorageVersionStatus
impl Send for StorageVersionStatus
impl Sync for StorageVersionStatus
impl Unpin for StorageVersionStatus
impl UnwindSafe for StorageVersionStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more