pub trait IntoDocuments {
    // Required method
    fn into_documents<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Document>>> + Send + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

A document that can be added to a search index.

Required Methods§

source

fn into_documents<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<Vec<Document>>> + Send + 'async_trait>>
where Self: 'async_trait,

Convert the document into a Document

Implementors§