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
sourceimpl Clone for CustomResourceSubresourceStatus
impl Clone for CustomResourceSubresourceStatus
sourcefn clone(&self) -> CustomResourceSubresourceStatus
fn clone(&self) -> CustomResourceSubresourceStatus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl DeepMerge for CustomResourceSubresourceStatus
impl DeepMerge for CustomResourceSubresourceStatus
sourcefn merge_from(&mut self, other: CustomResourceSubresourceStatus)
fn merge_from(&mut self, other: CustomResourceSubresourceStatus)
Merge
other
into self
.sourceimpl Default for CustomResourceSubresourceStatus
impl Default for CustomResourceSubresourceStatus
sourcefn default() -> CustomResourceSubresourceStatus
fn default() -> CustomResourceSubresourceStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CustomResourceSubresourceStatus
impl<'de> Deserialize<'de> for CustomResourceSubresourceStatus
sourcefn deserialize<D>(
deserializer: D
) -> Result<CustomResourceSubresourceStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<CustomResourceSubresourceStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CustomResourceSubresourceStatus> for CustomResourceSubresourceStatus
impl PartialEq<CustomResourceSubresourceStatus> for CustomResourceSubresourceStatus
sourcefn eq(&self, other: &CustomResourceSubresourceStatus) -> bool
fn eq(&self, other: &CustomResourceSubresourceStatus) -> bool
sourceimpl Serialize for CustomResourceSubresourceStatus
impl Serialize for CustomResourceSubresourceStatus
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CustomResourceSubresourceStatus
Auto Trait Implementations
impl RefUnwindSafe for CustomResourceSubresourceStatus
impl Send for CustomResourceSubresourceStatus
impl Sync for CustomResourceSubresourceStatus
impl Unpin for CustomResourceSubresourceStatus
impl UnwindSafe for CustomResourceSubresourceStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more