Function json_api::from_doc
[−]
[src]
pub fn from_doc<T, U>(doc: Document<T>) -> Result<U, Error> where
T: PrimaryData,
U: DeserializeOwned,
Interpret a Document<T>
as a type U
.