FHIRJSONDeserializer

Trait FHIRJSONDeserializer 

Source
pub trait FHIRJSONDeserializer: Sized {
    // Required methods
    fn from_json_str(s: &str) -> Result<Self, DeserializeError>;
    fn from_serde_value(
        v: &Value,
        context: Context<'_>,
    ) -> Result<Self, DeserializeError>;
}

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.

Implementations on Foreign Types§

Source§

impl FHIRJSONDeserializer for bool

Source§

impl FHIRJSONDeserializer for f64

Source§

impl FHIRJSONDeserializer for i64

Source§

impl FHIRJSONDeserializer for u64

Source§

impl FHIRJSONDeserializer for String

Source§

impl<T> FHIRJSONDeserializer for Option<T>

Source§

impl<T> FHIRJSONDeserializer for Box<T>

Source§

impl<T> FHIRJSONDeserializer for Vec<T>

Implementors§