pub enum PatchType {
JsonPatch,
}
Available on crate feature
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<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 PatchType
impl PartialEq for PatchType
impl Eq for PatchType
impl StructuralPartialEq for PatchType
Auto Trait Implementations§
impl Freeze for PatchType
impl RefUnwindSafe for PatchType
impl Send for PatchType
impl Sync for PatchType
impl Unpin for PatchType
impl UnwindSafe for PatchType
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