pub struct FieldSpec {
pub key: &'static str,
pub boost: Boost,
pub required: bool,
}Expand description
An indexed text field (addok’s FIELDS).
Fields§
§key: &'static str§boost: Boost§required: boolA document missing a required field is not indexed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for FieldSpec
impl Freeze for FieldSpec
impl Move for FieldSpec
impl RefUnwindSafe for FieldSpec
impl Send for FieldSpec
impl Sync for FieldSpec
impl Unpin for FieldSpec
impl UnsafeUnpin for FieldSpec
impl UnwindSafe for FieldSpec
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