Trait TryGetableFromJson   
pub trait TryGetableFromJson: Sized + for<'de> Deserialize<'de> {
    // Provided methods
    fn try_get_from_json<I>(
        res: &QueryResult,
        idx: I,
    ) -> Result<Self, TryGetError>
       where I: ColIdx { ... }
    fn from_json_vec(value: Value) -> Result<Vec<Self>, TryGetError> { ... }
}Expand description
An interface to get a JSON from the query result
Provided Methods§
fn try_get_from_json<I>(res: &QueryResult, idx: I) -> Result<Self, TryGetError>where
    I: ColIdx,
fn try_get_from_json<I>(res: &QueryResult, idx: I) -> Result<Self, TryGetError>where
    I: ColIdx,
Get a JSON from the query result with prefixed column name
fn from_json_vec(value: Value) -> Result<Vec<Self>, TryGetError>
fn from_json_vec(value: Value) -> Result<Vec<Self>, TryGetError>
Get a Vec
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.