pub fn from_term<'a, C: QueryableContextType, T>(
context: &'a Context<'_, C>,
term: &Term<'a>
) -> Result<T>where
T: Deserialize<'a>,
Expand description
Deserialize a term into a rust value using serde.
pub fn from_term<'a, C: QueryableContextType, T>(
context: &'a Context<'_, C>,
term: &Term<'a>
) -> Result<T>where
T: Deserialize<'a>,
Deserialize a term into a rust value using serde.