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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GroupVersionForDiscovery
impl Send for GroupVersionForDiscovery
impl Sync for GroupVersionForDiscovery
impl Unpin for GroupVersionForDiscovery
impl UnwindSafe for GroupVersionForDiscovery
Blanket Implementations
Mutably borrows from an owned value. Read more