Trait 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

Source§

type Value = Value

Source§

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

Implementors§