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§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