Struct pliantdb_local::core::schema::Map [−][src]
pub struct Map<K = (), V = ()> where
V: Serialize,
K: Key, { pub source: u64, pub key: K, pub value: V, }
Expand description
A document’s entry in a View’s mappings.
Fields
source: u64
The id of the document that emitted this entry.
key: K
The key used to index the View.
value: V
An associated value stored in the view.
Implementations
Serializes this map.
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for Map<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> UnwindSafe for Map<K, V> where
K: UnwindSafe,
V: UnwindSafe,