pub trait EntryInsert<Col>: Send + Unpin{
    // Required method
    fn call(self) -> <Col as SerializedCollection>::Contents;
}
Expand description

A function that is invoked when inserting a document using the entry api.

Required Methods§

source

fn call(self) -> <Col as SerializedCollection>::Contents

Returns the contents of the new document.

Implementations on Foreign Types§

source§

impl<Col> EntryInsert<Col> for ()

Implementors§

source§

impl<F, Col> EntryInsert<Col> for F