Struct k8s_openapi::apimachinery::pkg::apis::meta::v1::GroupVersionForDiscovery
source · Expand description
GroupVersion contains the “group/version” and “version” string of a version. It is made a struct to keep extensibility.
Fields§
§group_version: String
groupVersion specifies the API group and version in the form “group/version”
version: String
version specifies the version in the form of “version”. This is to save the clients the trouble of splitting the GroupVersion.
Trait Implementations§
source§impl Clone for GroupVersionForDiscovery
impl Clone for GroupVersionForDiscovery
source§fn clone(&self) -> GroupVersionForDiscovery
fn clone(&self) -> GroupVersionForDiscovery
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 GroupVersionForDiscovery
impl Debug for GroupVersionForDiscovery
source§impl DeepMerge for GroupVersionForDiscovery
impl DeepMerge for GroupVersionForDiscovery
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for GroupVersionForDiscovery
impl Default for GroupVersionForDiscovery
source§fn default() -> GroupVersionForDiscovery
fn default() -> GroupVersionForDiscovery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GroupVersionForDiscovery
impl<'de> Deserialize<'de> for GroupVersionForDiscovery
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<GroupVersionForDiscovery> for GroupVersionForDiscovery
impl PartialEq<GroupVersionForDiscovery> for GroupVersionForDiscovery
source§fn eq(&self, other: &GroupVersionForDiscovery) -> bool
fn eq(&self, other: &GroupVersionForDiscovery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.