Enum kube_client::api::admission::PatchType
source · pub enum PatchType {
JsonPatch,
}
Available on crate features
client
and admission
only.Expand description
The type of patch returned in an AdmissionResponse
.
Variants§
JsonPatch
Specifies the patch body implements JSON Patch under RFC 6902.
Trait Implementations§
source§impl<'de> Deserialize<'de> for PatchType
impl<'de> Deserialize<'de> for PatchType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PatchType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PatchType, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PatchType> for PatchType
impl PartialEq<PatchType> for PatchType
source§impl Serialize for PatchType
impl Serialize for PatchType
source§fn 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 Eq for PatchType
impl StructuralEq for PatchType
impl StructuralPartialEq for PatchType
Auto Trait Implementations§
impl RefUnwindSafe for PatchType
impl Send for PatchType
impl Sync for PatchType
impl Unpin for PatchType
impl UnwindSafe for PatchType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.