pub trait IntoDocumentWithVariables {
type Variables: Serialize;
// Required method
fn into_document_with_variables(self) -> (Document, Self::Variables);
}
Expand description
A trait for types that can be converted into a Document
and variables tuple.
Required Associated Types§
Required Methods§
Sourcefn into_document_with_variables(self) -> (Document, Self::Variables)
fn into_document_with_variables(self) -> (Document, Self::Variables)
Consumes self
and returns a query and variables tuple.