Trait bonsaidb_core::document::OwnedDocuments
source · [−]pub trait OwnedDocuments {
fn collection_documents<C: SerializedCollection>(
&self
) -> Result<Vec<CollectionDocument<C>>, Error>;
}Expand description
Helper functions for a slice of OwnedDocuments.
Required methods
fn collection_documents<C: SerializedCollection>(
&self
) -> Result<Vec<CollectionDocument<C>>, Error>
fn collection_documents<C: SerializedCollection>(
&self
) -> Result<Vec<CollectionDocument<C>>, Error>
Returns a list of deserialized documents.