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 Debug for PatchOperation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PatchOperation
[src]
impl Clone for PatchOperation
fn clone(&self) -> PatchOperation
[src]
fn clone(&self) -> PatchOperation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for PatchOperation
[src]
impl PartialEq for PatchOperation
fn eq(&self, other: &PatchOperation) -> bool
[src]
fn eq(&self, other: &PatchOperation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PatchOperation) -> bool
[src]
fn ne(&self, other: &PatchOperation) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PatchOperation
impl Send for PatchOperation
impl Sync for PatchOperation
impl Sync for PatchOperation