pub struct GroupVersion {
pub group: String,
pub version: String,
}
Expand description
Core information about a family of API Resources
Fields§
§group: String
API group
version: String
Version
Implementations§
source§impl GroupVersion
impl GroupVersion
source§impl GroupVersion
impl GroupVersion
sourcepub fn api_version(&self) -> String
pub fn api_version(&self) -> String
Generate the apiVersion string used in a kind’s yaml
Trait Implementations§
source§impl Clone for GroupVersion
impl Clone for GroupVersion
source§fn clone(&self) -> GroupVersion
fn clone(&self) -> GroupVersion
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 GroupVersion
impl Debug for GroupVersion
source§impl<'de> Deserialize<'de> for GroupVersion
impl<'de> Deserialize<'de> for GroupVersion
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 FromStr for GroupVersion
impl FromStr for GroupVersion
source§impl Hash for GroupVersion
impl Hash for GroupVersion
source§impl PartialEq for GroupVersion
impl PartialEq for GroupVersion
source§impl Serialize for GroupVersion
impl Serialize for GroupVersion
impl Eq for GroupVersion
impl StructuralPartialEq for GroupVersion
Auto Trait Implementations§
impl Freeze for GroupVersion
impl RefUnwindSafe for GroupVersion
impl Send for GroupVersion
impl Sync for GroupVersion
impl Unpin for GroupVersion
impl UnwindSafe for GroupVersion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)