pub trait EntryUpdate<Col>: Send + Unpin{
    // Required method
    fn update(&mut self, doc: &mut <Col as SerializedCollection>::Contents);
}
Expand description

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

Required Methods§

source

fn update(&mut self, doc: &mut <Col as SerializedCollection>::Contents)

Updates doc with modifications to perform before returning the document.

Implementations on Foreign Types§

source§

impl<Col> EntryUpdate<Col> for ()

source§

fn update(&mut self, _doc: &mut <Col as SerializedCollection>::Contents)

Implementors§

source§

impl<F, Col> EntryUpdate<Col> for F