pub struct CustomResourceSubresourceStatus(pub Value);
Expand description
CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the .status
JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza
Tuple Fields§
§0: Value
Trait Implementations§
Source§impl Clone for CustomResourceSubresourceStatus
impl Clone for CustomResourceSubresourceStatus
Source§fn clone(&self) -> CustomResourceSubresourceStatus
fn clone(&self) -> CustomResourceSubresourceStatus
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 DeepMerge for CustomResourceSubresourceStatus
impl DeepMerge for CustomResourceSubresourceStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for CustomResourceSubresourceStatus
impl Default for CustomResourceSubresourceStatus
Source§fn default() -> CustomResourceSubresourceStatus
fn default() -> CustomResourceSubresourceStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomResourceSubresourceStatus
impl<'de> Deserialize<'de> for CustomResourceSubresourceStatus
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 for CustomResourceSubresourceStatus
impl PartialEq for CustomResourceSubresourceStatus
Source§fn eq(&self, other: &CustomResourceSubresourceStatus) -> bool
fn eq(&self, other: &CustomResourceSubresourceStatus) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CustomResourceSubresourceStatus
Auto Trait Implementations§
impl Freeze for CustomResourceSubresourceStatus
impl RefUnwindSafe for CustomResourceSubresourceStatus
impl Send for CustomResourceSubresourceStatus
impl Sync for CustomResourceSubresourceStatus
impl Unpin for CustomResourceSubresourceStatus
impl UnwindSafe for CustomResourceSubresourceStatus
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