pub struct GroupVersionKind {
pub group: Option<String>,
pub version: Option<String>,
pub kind: Option<String>,
}Expand description
GroupVersionKind unambiguously identifies a kind. This is a local copy for use in discovery types.
Fields§
§group: Option<String>group is the group of the resource.
version: Option<String>version is the version of the resource.
kind: Option<String>kind is the kind of the resource.
Trait Implementations§
Source§impl Clone for GroupVersionKind
impl Clone for GroupVersionKind
Source§fn clone(&self) -> GroupVersionKind
fn clone(&self) -> GroupVersionKind
Returns a duplicate 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 GroupVersionKind
impl Debug for GroupVersionKind
Source§impl Default for GroupVersionKind
impl Default for GroupVersionKind
Source§fn default() -> GroupVersionKind
fn default() -> GroupVersionKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupVersionKind
impl<'de> Deserialize<'de> for GroupVersionKind
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 GroupVersionKind
impl PartialEq for GroupVersionKind
Source§impl Serialize for GroupVersionKind
impl Serialize for GroupVersionKind
impl StructuralPartialEq for GroupVersionKind
Auto Trait Implementations§
impl Freeze for GroupVersionKind
impl RefUnwindSafe for GroupVersionKind
impl Send for GroupVersionKind
impl Sync for GroupVersionKind
impl Unpin for GroupVersionKind
impl UnwindSafe for GroupVersionKind
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