Enum json_patch::PatchOperation
[−]
[src]
pub enum PatchOperation { Add(AddOperation), Remove(RemoveOperation), Replace(ReplaceOperation), Move(MoveOperation), Copy(CopyOperation), Test(TestOperation), }
JSON Patch single patch operation
Variants
Add(AddOperation)
'add' operation
Remove(RemoveOperation)
'remove' operation
Replace(ReplaceOperation)
'replace' operation
Move(MoveOperation)
'move' operation
Copy(CopyOperation)
'copy' operation
Test(TestOperation)
'test' operation
Trait Implementations
impl Debug for PatchOperation
[src]
impl Clone for PatchOperation
[src]
fn clone(&self) -> PatchOperation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for PatchOperation
[src]
fn eq(&self, __arg_0: &PatchOperation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PatchOperation) -> bool
[src]
This method tests for !=
.