pub struct Prepared {
pub id: Option<String>,
pub title: Option<String>,
pub body: String,
pub names: String,
pub group: Option<String>,
pub group_name: Option<String>,
pub date: Option<String>,
pub boost: f64,
pub facets: Vec<(String, String)>,
pub tags: String,
}Expand description
What the index stores for one record.
Fields§
§id: Option<String>§title: Option<String>§body: String§names: StringGroup key and name, searchable in their own column.
group: Option<String>§group_name: Option<String>§date: Option<String>§boost: f64§facets: Vec<(String, String)>(field, value) pairs, value as first seen (trimmed).
Synthetic FTS tokens for the group and each facet value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnsafeUnpin for Prepared
impl UnwindSafe for Prepared
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