Struct elasticlunr::document_store::DocumentStore [−][src]
pub struct DocumentStore { pub save: bool, pub docs: BTreeMap<String, BTreeMap<String, String>>, pub doc_info: BTreeMap<String, BTreeMap<String, usize>>, pub length: usize, }
Expand description
The document store saves the complete text of each item saved to the index, if enabled. Most users do not need to use this type directly.
Fields
save: bool
docs: BTreeMap<String, BTreeMap<String, String>>
doc_info: BTreeMap<String, BTreeMap<String, usize>>
length: usize
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DocumentStore
impl Send for DocumentStore
impl Sync for DocumentStore
impl Unpin for DocumentStore
impl UnwindSafe for DocumentStore
Blanket Implementations
Mutably borrows from an owned value. Read more