Trait pliantdb_core::schema::view::Serialized [−][src]
Wraps a View with serialization to erase the associated types
Required methods
fn collection(&self) -> Id[src]
Wraps returing <View::Collection as Collection>::id()
fn version(&self) -> u64[src]
Wraps View::version
fn name(&self) -> Cow<'static, str>[src]
Wraps View::name
fn map(&self, document: &Document<'_>) -> Result<Option<Serialized>, Error>[src]
Wraps View::map
fn reduce(
&self,
mappings: &[(&[u8], &[u8])],
rereduce: bool
) -> Result<Vec<u8>, Error>[src]
&self,
mappings: &[(&[u8], &[u8])],
rereduce: bool
) -> Result<Vec<u8>, Error>
Wraps View::reduce
Implementors
impl<T> Serialized for T where
T: View,
<T as View>::Key: 'static, [src]
T: View,
<T as View>::Key: 'static,