pub struct JSONPatchOperation {
pub op: String,
pub path: String,
pub from: Option<String>,
pub value: Option<Value>,
}Fields§
§op: String§path: String§from: Option<String>§value: Option<Value>Trait Implementations§
Source§impl Clone for JSONPatchOperation
impl Clone for JSONPatchOperation
Source§fn clone(&self) -> JSONPatchOperation
fn clone(&self) -> JSONPatchOperation
Returns a duplicate 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 Debug for JSONPatchOperation
impl Debug for JSONPatchOperation
Source§impl<'de> Deserialize<'de> for JSONPatchOperation
impl<'de> Deserialize<'de> for JSONPatchOperation
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 JSONPatchOperation
impl PartialEq for JSONPatchOperation
Source§impl Serialize for JSONPatchOperation
impl Serialize for JSONPatchOperation
impl StructuralPartialEq for JSONPatchOperation
Auto Trait Implementations§
impl Freeze for JSONPatchOperation
impl RefUnwindSafe for JSONPatchOperation
impl Send for JSONPatchOperation
impl Sync for JSONPatchOperation
impl Unpin for JSONPatchOperation
impl UnwindSafe for JSONPatchOperation
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