pub struct FieldQuery {
pub field: String,
pub query: String,
pub operator: QueryOperator,
pub boost: Option<f32>,
pub fuzziness: Option<f32>,
}Expand description
Field-specific query
Fields§
§field: StringField name
query: StringQuery text
operator: QueryOperatorQuery operator
boost: Option<f32>Boost factor
fuzziness: Option<f32>Fuzziness
Trait Implementations§
Source§impl Clone for FieldQuery
impl Clone for FieldQuery
Source§impl Debug for FieldQuery
impl Debug for FieldQuery
Source§impl<'de> Deserialize<'de> for FieldQuery
impl<'de> Deserialize<'de> for FieldQuery
Source§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 Freeze for FieldQuery
impl RefUnwindSafe for FieldQuery
impl Send for FieldQuery
impl Sync for FieldQuery
impl Unpin for FieldQuery
impl UnsafeUnpin for FieldQuery
impl UnwindSafe for FieldQuery
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