pub trait Assign {
type Error;
// Required method
fn assign<V>(
&mut self,
ptr: &Pointer,
value: V,
) -> Result<Assignment<'_>, Self::Error>
where V: Into<Value>;
}
Expand description
Assign is implemented by types which can internally assign a
serde_json::Value
by a JSON Pointer.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.