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>,
}
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).
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<ServerStorageVersion> for ServerStorageVersion
impl PartialEq<ServerStorageVersion> for ServerStorageVersion
source§fn eq(&self, other: &ServerStorageVersion) -> bool
fn eq(&self, other: &ServerStorageVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ServerStorageVersion
impl Serialize for ServerStorageVersion
impl StructuralPartialEq for ServerStorageVersion
Auto Trait Implementations§
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