Skip to main content

ValueConverter

Trait ValueConverter 

Source
pub trait ValueConverter {
    // Required methods
    fn to_serde_json(&self) -> Value;
    fn from_serde_json(value: &Value) -> Option<Value>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ValueConverter for Value

Implementors§