Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceSubresourceStatus
source · 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 JsonSchema for CustomResourceSubresourceStatus
impl JsonSchema for CustomResourceSubresourceStatus
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)