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

Helper functions for a slice of OwnedDocuments.

Required Methods§

source

fn collection_documents<C: SerializedCollection>( &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§