Struct json_patch::TestOperation
source · Expand description
JSON Patch ‘test’ operation representation
Fields§
§path: String
JSON-Pointer value RFC6901 that references a location within the target document where the operation is performed.
value: Value
Value to test against.
Trait Implementations§
source§impl Clone for TestOperation
impl Clone for TestOperation
source§fn clone(&self) -> TestOperation
fn clone(&self) -> TestOperation
Returns a copy 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 TestOperation
impl Debug for TestOperation
source§impl<'de> Deserialize<'de> for TestOperation
impl<'de> Deserialize<'de> for TestOperation
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<TestOperation> for TestOperation
impl PartialEq<TestOperation> for TestOperation
source§fn eq(&self, other: &TestOperation) -> bool
fn eq(&self, other: &TestOperation) -> bool
source§impl Serialize for TestOperation
impl Serialize for TestOperation
impl Eq for TestOperation
impl StructuralEq for TestOperation
impl StructuralPartialEq for TestOperation
Auto Trait Implementations§
impl RefUnwindSafe for TestOperation
impl Send for TestOperation
impl Sync for TestOperation
impl Unpin for TestOperation
impl UnwindSafe for TestOperation
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.