pub trait OwnedDocuments {
    // Required method
    fn collection_documents<C>(
        &self
    ) -> Result<Vec<CollectionDocument<C>>, Error>
       where C: SerializedCollection;
}
Expand description

Helper functions for a slice of OwnedDocuments.

Required Methods§

source

fn collection_documents<C>(&self) -> Result<Vec<CollectionDocument<C>>, Error>

Returns a list of deserialized documents.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl OwnedDocuments for [OwnedDocument]

Implementors§