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 KThe key that this document mapped to.
value: &'a VThe associated value of this key.
document: &'a DThe 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§
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