OwnedDocuments

Trait OwnedDocuments 

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OwnedDocuments for [OwnedDocument]

Implementors§