[][src]Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1beta1::CustomResourceDefinitionNames

pub struct CustomResourceDefinitionNames {
    pub categories: Option<Vec<String>>,
    pub kind: String,
    pub list_kind: Option<String>,
    pub plural: String,
    pub short_names: Option<Vec<String>>,
    pub singular: Option<String>,
}

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

Fields

categories: Option<Vec<String>>

Categories is a list of grouped resources custom resources belong to (e.g. 'all')

kind: String

Kind is the serialized kind of the resource. It is normally CamelCase and singular.

list_kind: Option<String>

ListKind is the serialized kind of the list for this resource. Defaults to <kind>List.

plural: String

Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase.

short_names: Option<Vec<String>>

ShortNames are short names for the resource. It must be all lowercase.

singular: Option<String>

Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased <kind>

Trait Implementations

impl Clone for CustomResourceDefinitionNames[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<CustomResourceDefinitionNames> for CustomResourceDefinitionNames[src]

impl Default for CustomResourceDefinitionNames[src]

impl Debug for CustomResourceDefinitionNames[src]

impl Serialize for CustomResourceDefinitionNames[src]

impl<'de> Deserialize<'de> for CustomResourceDefinitionNames[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]