Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceSubresources
source · pub struct CustomResourceSubresources {
pub scale: Option<CustomResourceSubresourceScale>,
pub status: Option<CustomResourceSubresourceStatus>,
}Expand description
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§
source§impl Clone for CustomResourceSubresources
impl Clone for CustomResourceSubresources
source§fn clone(&self) -> CustomResourceSubresources
fn clone(&self) -> CustomResourceSubresources
Returns a copy 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 CustomResourceSubresources
impl Debug for CustomResourceSubresources
source§impl DeepMerge for CustomResourceSubresources
impl DeepMerge for CustomResourceSubresources
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.source§impl Default for CustomResourceSubresources
impl Default for CustomResourceSubresources
source§fn default() -> CustomResourceSubresources
fn default() -> CustomResourceSubresources
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomResourceSubresources
impl<'de> Deserialize<'de> for CustomResourceSubresources
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<CustomResourceSubresources> for CustomResourceSubresources
impl PartialEq<CustomResourceSubresources> for CustomResourceSubresources
source§fn eq(&self, other: &CustomResourceSubresources) -> bool
fn eq(&self, other: &CustomResourceSubresources) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomResourceSubresources
Auto Trait Implementations§
impl RefUnwindSafe for CustomResourceSubresources
impl Send for CustomResourceSubresources
impl Sync for CustomResourceSubresources
impl Unpin for CustomResourceSubresources
impl UnwindSafe for CustomResourceSubresources
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