Struct k8s_openapi::api::apiserverinternal::v1alpha1::ServerStorageVersion
source · pub struct ServerStorageVersion {
pub api_server_id: Option<String>,
pub decodable_versions: Option<Vec<String>>,
pub encoding_version: Option<String>,
pub served_versions: Option<Vec<String>>,
}
Expand description
An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
Fields§
§api_server_id: Option<String>
The ID of the reporting API server.
decodable_versions: Option<Vec<String>>
The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.
encoding_version: Option<String>
The API server encodes the object to this version when persisting it in the backend (e.g., etcd).
served_versions: Option<Vec<String>>
The API server can serve these versions. DecodableVersions must include all ServedVersions.
Trait Implementations§
source§impl Clone for ServerStorageVersion
impl Clone for ServerStorageVersion
source§fn clone(&self) -> ServerStorageVersion
fn clone(&self) -> ServerStorageVersion
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 ServerStorageVersion
impl Debug for ServerStorageVersion
source§impl DeepMerge for ServerStorageVersion
impl DeepMerge for ServerStorageVersion
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ServerStorageVersion
impl Default for ServerStorageVersion
source§fn default() -> ServerStorageVersion
fn default() -> ServerStorageVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServerStorageVersion
impl<'de> Deserialize<'de> for ServerStorageVersion
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 ServerStorageVersion
impl PartialEq for ServerStorageVersion
source§impl Serialize for ServerStorageVersion
impl Serialize for ServerStorageVersion
impl StructuralPartialEq for ServerStorageVersion
Auto Trait Implementations§
impl Freeze for ServerStorageVersion
impl RefUnwindSafe for ServerStorageVersion
impl Send for ServerStorageVersion
impl Sync for ServerStorageVersion
impl Unpin for ServerStorageVersion
impl UnwindSafe for ServerStorageVersion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)