[][src]Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceSubresources

pub struct CustomResourceSubresources {
    pub scale: Option<CustomResourceSubresourceScale>,
    pub status: Option<CustomResourceSubresourceStatus>,
}

CustomResourceSubresources defines the status and scale subresources for CustomResources.

Fields

scale: Option<CustomResourceSubresourceScale>

scale indicates the custom resource should serve a /scale subresource that returns an autoscaling/v1 Scale object.

status: Option<CustomResourceSubresourceStatus>

status indicates the custom resource should serve a /status subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the status stanza of the object. 2. requests to the custom resource /status subresource ignore changes to anything other than the status stanza of the object.

Trait Implementations

impl Clone for CustomResourceSubresources[src]

impl Debug for CustomResourceSubresources[src]

impl Default for CustomResourceSubresources[src]

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

impl PartialEq<CustomResourceSubresources> for CustomResourceSubresources[src]

impl Serialize for CustomResourceSubresources[src]

impl StructuralPartialEq for CustomResourceSubresources[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.