Struct pliantdb_core::schema::view::map::MappedDocument [−][src]
pub struct MappedDocument<K: Key = (), V: Serialize = ()> { pub document: Document<'static>, pub key: K, pub value: V, }
Expand description
A document’s entry in a View’s mappings.
Fields
document: Document<'static>The id of the document that emitted this entry.
key: KThe key used to index the View.
value: VAn associated value stored in the view.
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for MappedDocument<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe, impl<K, V> Send for MappedDocument<K, V> where
V: Send, impl<K, V> Sync for MappedDocument<K, V> where
V: Sync, impl<K, V> Unpin for MappedDocument<K, V> where
K: Unpin,
V: Unpin, impl<K, V> UnwindSafe for MappedDocument<K, V> where
K: UnwindSafe,
V: UnwindSafe,