pub struct BodyPatch {
pub path: String,
pub op: BodyPatchOp,
pub value: Option<PatchValue>,
}Expand description
Body patch operation.
Fields§
§path: StringTarget path (foo.bar.0 or /foo/bar/0).
op: BodyPatchOpOperation type.
value: Option<PatchValue>Value for set operation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BodyPatch
impl<'de> Deserialize<'de> for BodyPatch
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
impl StructuralPartialEq for BodyPatch
Auto Trait Implementations§
impl Freeze for BodyPatch
impl RefUnwindSafe for BodyPatch
impl Send for BodyPatch
impl Sync for BodyPatch
impl Unpin for BodyPatch
impl UnsafeUnpin for BodyPatch
impl UnwindSafe for BodyPatch
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