pub struct GroupVersionKind {
pub group: String,
pub version: String,
pub kind: String,
}Available on crate feature
validation only.Expand description
Group/Version/Kind identifier.
Fields§
§group: StringAPI group (e.g., "apps"). Empty string for the core group.
version: StringAPI version (e.g., "v1").
kind: StringResource kind (e.g., "Deployment").
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 (const: unstable) · 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
impl Eq for GroupVersionKind
Source§impl Hash for GroupVersionKind
impl Hash for GroupVersionKind
Source§impl PartialEq for GroupVersionKind
impl PartialEq for GroupVersionKind
Source§fn eq(&self, other: &GroupVersionKind) -> bool
fn eq(&self, other: &GroupVersionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin for GroupVersionKind
impl UnwindSafe for GroupVersionKind
Blanket Implementations§
Source§impl<T> AnyExt for T
impl<T> AnyExt for T
Source§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
Attempts to downcast this to
T behind referenceSource§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
Attempts to downcast this to
T behind mutable referenceSource§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
Attempts to downcast this to
T behind Rc pointerSource§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
Attempts to downcast this to
T behind Arc pointerSource§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