pub trait BTreeValueJsonConverter {
// Required methods
fn into_json_value(self) -> Result<JsonValue, Error>;
fn into_validating_json_value(self) -> Result<JsonValue, Error>;
fn to_json_value(&self) -> Result<JsonValue, Error>;
fn to_validating_json_value(&self) -> Result<JsonValue, Error>;
fn from_json_value(value: JsonValue) -> Result<Self, Error>
where Self: Sized;
}Required Methods§
fn into_json_value(self) -> Result<JsonValue, Error>
fn into_validating_json_value(self) -> Result<JsonValue, Error>
fn to_json_value(&self) -> Result<JsonValue, Error>
fn to_validating_json_value(&self) -> Result<JsonValue, Error>
fn from_json_value(value: JsonValue) -> Result<Self, Error>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".