pub trait JsonValueExt {
// Required methods
fn get_owned(self, key: &dyn JsonKey) -> Result<JsonValue, JsonExtError>;
fn try_into_string(self) -> Result<String, JsonExtError>;
fn get_value_type(&self) -> &'static str;
}Required Methods§
fn get_owned(self, key: &dyn JsonKey) -> Result<JsonValue, JsonExtError>
fn try_into_string(self) -> Result<String, JsonExtError>
fn get_value_type(&self) -> &'static str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".