Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1beta1::CustomResourceDefinitionNames [−][src]
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>, }
Expand description
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]
impl Clone for CustomResourceDefinitionNames
[src]fn clone(&self) -> CustomResourceDefinitionNames
[src]
fn clone(&self) -> CustomResourceDefinitionNames
[src]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 Debug for CustomResourceDefinitionNames
[src]
impl Debug for CustomResourceDefinitionNames
[src]impl Default for CustomResourceDefinitionNames
[src]
impl Default for CustomResourceDefinitionNames
[src]fn default() -> CustomResourceDefinitionNames
[src]
fn default() -> CustomResourceDefinitionNames
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for CustomResourceDefinitionNames
[src]
impl<'de> Deserialize<'de> for CustomResourceDefinitionNames
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<CustomResourceDefinitionNames> for CustomResourceDefinitionNames
[src]
impl PartialEq<CustomResourceDefinitionNames> for CustomResourceDefinitionNames
[src]fn eq(&self, other: &CustomResourceDefinitionNames) -> bool
[src]
fn eq(&self, other: &CustomResourceDefinitionNames) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &CustomResourceDefinitionNames) -> bool
[src]
fn ne(&self, other: &CustomResourceDefinitionNames) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for CustomResourceDefinitionNames
[src]
Auto Trait Implementations
impl RefUnwindSafe for CustomResourceDefinitionNames
impl Send for CustomResourceDefinitionNames
impl Sync for CustomResourceDefinitionNames
impl Unpin for CustomResourceDefinitionNames
impl UnwindSafe for CustomResourceDefinitionNames
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,