pub struct APIGroupDiscovery {
pub metadata: Option<ObjectMeta>,
pub versions: Vec<APIVersionDiscovery>,
}Expand description
APIGroupDiscovery holds information about which resources are being served for all version of the API Group. It contains a list of APIVersionDiscovery that holds a list of APIResourceDiscovery types served for a version. Versions are in descending order of preference, with the first version being the preferred entry.
Fields§
§metadata: Option<ObjectMeta>Standard object’s metadata. The only field populated will be name. It will be the name of the API group.
versions: Vec<APIVersionDiscovery>versions are the versions supported in this group. They are sorted in descending order of preference, with the preferred version being the first entry.
Trait Implementations§
Source§impl Clone for APIGroupDiscovery
impl Clone for APIGroupDiscovery
Source§fn clone(&self) -> APIGroupDiscovery
fn clone(&self) -> APIGroupDiscovery
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 APIGroupDiscovery
impl Debug for APIGroupDiscovery
Source§impl Default for APIGroupDiscovery
impl Default for APIGroupDiscovery
Source§fn default() -> APIGroupDiscovery
fn default() -> APIGroupDiscovery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for APIGroupDiscovery
impl<'de> Deserialize<'de> for APIGroupDiscovery
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 APIGroupDiscovery
impl PartialEq for APIGroupDiscovery
Source§impl Serialize for APIGroupDiscovery
impl Serialize for APIGroupDiscovery
impl StructuralPartialEq for APIGroupDiscovery
Auto Trait Implementations§
impl Freeze for APIGroupDiscovery
impl RefUnwindSafe for APIGroupDiscovery
impl Send for APIGroupDiscovery
impl Sync for APIGroupDiscovery
impl Unpin for APIGroupDiscovery
impl UnwindSafe for APIGroupDiscovery
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