Skip to main content

FHIRJSONDeserializer

Trait FHIRJSONDeserializer 

Source
pub trait FHIRJSONDeserializer: Sized {
    // Required methods
    fn from_json_str(s: &str) -> Result<Self, DeserializeError>;
    fn from_serde_value(
        v: *mut 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".

Implementations on Foreign Types§

Source§

impl FHIRJSONDeserializer for String

Source§

impl FHIRJSONDeserializer for bool

Source§

impl FHIRJSONDeserializer for f64

Source§

impl FHIRJSONDeserializer for i64

Source§

impl FHIRJSONDeserializer for u64

Source§

impl<T> FHIRJSONDeserializer for Box<T>

Source§

impl<T> FHIRJSONDeserializer for Option<T>

Source§

impl<T> FHIRJSONDeserializer for Vec<T>

Implementors§