pub trait TryGetableFromJson: Sized + for<'de> Deserialize<'de> {
    // Provided method
    fn try_get_from_json<I>(
        res: &QueryResult,
        idx: I
    ) -> Result<Self, TryGetError>
       where I: ColIdx { ... }
}
Expand description

An interface to get a JSON from the query result

Provided Methods§

source

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

Implementors§