Struct paypal_rust::resources::patch::Patch
source · pub struct Patch {
pub op: Op,
pub path: Option<String>,
pub value: Option<PatchValue>,
pub from: Option<String>,
}
Fields§
§op: Op
The operation.
path: Option<String>
The JSON Pointer to the target document location at which to complete the operation.
value: Option<PatchValue>
The value to apply. The remove
operation does not require a value.
from: Option<String>
The JSON Pointer to the target document location from which to move the value. Required for the move operation.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Patch
impl<'de> Deserialize<'de> for Patch
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