Trait jsonptr::delete::Delete

source ·
pub trait Delete {
    type Value;

    // Required method
    fn delete(&mut self, ptr: &Pointer) -> Option<Self::Value>;
}
Expand description

Delete is implemented by types which can internally remove a value based on a JSON Pointer

Required Associated Types§

source

type Value

The type of value that this implementation can operate on.

Required Methods§

source

fn delete(&mut self, ptr: &Pointer) -> Option<Self::Value>

Attempts to internally delete a value based upon a Pointer.

Implementations on Foreign Types§

source§

impl Delete for Value

§

type Value = Value

source§

fn delete(&mut self, ptr: &Pointer) -> Option<Self::Value>

Implementors§