pub struct MappedDocument<'a, D, K, V> {
pub key: &'a K,
pub value: &'a V,
pub document: &'a D,
}
Expand description
A mapped document returned from a view query.
Fields§
§key: &'a K
The key that this document mapped to.
value: &'a V
The associated value of this key.
document: &'a D
The source document of this mapping.
Auto Trait Implementations§
impl<'a, D, K, V> RefUnwindSafe for MappedDocument<'a, D, K, V>
impl<'a, D, K, V> Send for MappedDocument<'a, D, K, V>
impl<'a, D, K, V> Sync for MappedDocument<'a, D, K, V>
impl<'a, D, K, V> Unpin for MappedDocument<'a, D, K, V>
impl<'a, D, K, V> UnwindSafe for MappedDocument<'a, D, K, V>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more