Trait bonsaidb::core::document::OwnedDocuments
pub trait OwnedDocuments {
// Required method
fn collection_documents<C>(
&self
) -> Result<Vec<CollectionDocument<C>, Global>, Error>
where C: SerializedCollection;
}
Expand description
Helper functions for a slice of OwnedDocument
s.
Required Methods§
fn collection_documents<C>(
&self
) -> Result<Vec<CollectionDocument<C>, Global>, Error>where
C: SerializedCollection,
fn collection_documents<C>( &self ) -> Result<Vec<CollectionDocument<C>, Global>, Error>where C: SerializedCollection,
Returns a list of deserialized documents.