Enum json_patch::PatchOperation [−][src]
pub enum PatchOperation {
Add(AddOperation),
Remove(RemoveOperation),
Replace(ReplaceOperation),
Move(MoveOperation),
Copy(CopyOperation),
Test(TestOperation),
}Expand description
JSON Patch single patch operation
Variants
Add(AddOperation)
Tuple Fields
0: AddOperation‘add’ operation
Remove(RemoveOperation)
Tuple Fields
‘remove’ operation
Replace(ReplaceOperation)
Tuple Fields
‘replace’ operation
Move(MoveOperation)
Tuple Fields
‘move’ operation
Copy(CopyOperation)
Tuple Fields
‘copy’ operation
Test(TestOperation)
Tuple Fields
‘test’ operation
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PatchOperation
impl Send for PatchOperation
impl Sync for PatchOperation
impl Unpin for PatchOperation
impl UnwindSafe for PatchOperation
Blanket Implementations
Mutably borrows from an owned value. Read more
