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 PatchOperationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for PatchOperation[src]
impl Clone for PatchOperationfn clone(&self) -> PatchOperation[src]
fn clone(&self) -> PatchOperationReturns 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 PatchOperationfn eq(&self, other: &PatchOperation) -> bool[src]
fn eq(&self, other: &PatchOperation) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for PatchOperation
impl Send for PatchOperationimpl Sync for PatchOperation
impl Sync for PatchOperation