Struct bonsaidb_core::schema::view::map::MappedDocument
source · 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>where D: RefUnwindSafe, K: RefUnwindSafe, V: RefUnwindSafe,
impl<'a, D, K, V> Send for MappedDocument<'a, D, K, V>where D: Sync, K: Sync, V: Sync,
impl<'a, D, K, V> Sync for MappedDocument<'a, D, K, V>where D: Sync, K: Sync, V: Sync,
impl<'a, D, K, V> Unpin for MappedDocument<'a, D, K, V>
impl<'a, D, K, V> UnwindSafe for MappedDocument<'a, D, K, V>where D: RefUnwindSafe, K: RefUnwindSafe, V: RefUnwindSafe,
Blanket Implementations§
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