macro_rules! define_basic_mapped_view { ($view_name:ident, $collection:ty, $version:literal, $name:literal, $key:ty, $mapping:expr $(,)?) => { ... }; ($view_name:ident, $collection:ty, $version:literal, $name:literal, $key:ty, $value:ty, $mapping:expr $(,)?) => { ... }; }
Expand description
Defines a non-unique view named $view_name
for $collection
with the
mapping provided.