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
impl StructuralPartialEq for CustomResourceSubresources
Auto Trait Implementations§
impl Freeze for CustomResourceSubresources
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