Skip to main content

from_jsonb

Function from_jsonb 

Source
pub fn from_jsonb<'a, T: Deserialize<'a>>(
    value: &'a DbValue,
) -> Result<T, Error>
Available on crate features json and pg only.
Expand description

Convert a Postgres JSONB value to a Deserialize-able type.