Struct kubernetes::GroupVersionKind [−][src]
Fields
group: &'a str
version: &'a str
kind: &'a str
Methods
impl<'a> GroupVersionKind<'a>
[src]
impl<'a> GroupVersionKind<'a>
pub fn from_object<T: Metadata>(
m: &'a T
) -> Result<Self, InvalidGroupVersionError>
[src]
pub fn from_object<T: Metadata>(
m: &'a T
) -> Result<Self, InvalidGroupVersionError>
Trait Implementations
impl<'a> Debug for GroupVersionKind<'a>
[src]
impl<'a> Debug for GroupVersionKind<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Clone for GroupVersionKind<'a>
[src]
impl<'a> Clone for GroupVersionKind<'a>
fn clone(&self) -> GroupVersionKind<'a>
[src]
fn clone(&self) -> GroupVersionKind<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> PartialEq for GroupVersionKind<'a>
[src]
impl<'a> PartialEq for GroupVersionKind<'a>
fn eq(&self, other: &GroupVersionKind<'a>) -> bool
[src]
fn eq(&self, other: &GroupVersionKind<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GroupVersionKind<'a>) -> bool
[src]
fn ne(&self, other: &GroupVersionKind<'a>) -> bool
This method tests for !=
.
impl<'a> Display for GroupVersionKind<'a>
[src]
impl<'a> Display for GroupVersionKind<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> From<GroupVersionKind<'a>> for GroupKind<'a>
[src]
impl<'a> From<GroupVersionKind<'a>> for GroupKind<'a>
fn from(gvk: GroupVersionKind<'a>) -> Self
[src]
fn from(gvk: GroupVersionKind<'a>) -> Self
Performs the conversion.
impl<'a> From<GroupVersionKind<'a>> for GroupVersion<'a>
[src]
impl<'a> From<GroupVersionKind<'a>> for GroupVersion<'a>
fn from(gvk: GroupVersionKind<'a>) -> Self
[src]
fn from(gvk: GroupVersionKind<'a>) -> Self
Performs the conversion.
Auto Trait Implementations
impl<'a> Send for GroupVersionKind<'a>
impl<'a> Send for GroupVersionKind<'a>
impl<'a> Sync for GroupVersionKind<'a>
impl<'a> Sync for GroupVersionKind<'a>