Function to_doc

Source
pub fn to_doc<T, U>(
    value: T,
    query: Option<&Query>,
) -> Result<Document<U>, Error>
where T: Render<U>, U: PrimaryData,
Expand description

Render type T as a Document<U>.