Skip to main content

generic_apply_operation

Function generic_apply_operation 

Source
pub fn generic_apply_operation<V>(
    value: &mut V,
    op: &GenericPatchOperation<V>,
) -> Result<(), PatchError>
where V: Patchable,
Expand description

Apply a single operation to a value

Convenience function that calls value.apply_operation(op).

ยงErrors

Returns an error if the operation fails.