pub struct FtsQuery {
pub match: Option<Box<MatchQuery>>,
pub phrase: Option<Box<PhraseQuery>>,
pub boost: Option<Box<BoostQuery>>,
pub multi_match: Option<Box<MultiMatchQuery>>,
pub boolean: Option<Box<BooleanQuery>>,
}
Expand description
FtsQuery : Full-text search query. Exactly one query type field must be provided. This structure follows the same pattern as AlterTransactionAction to minimize differences and compatibility issues across codegen in different languages.
Fields§
§match: Option<Box<MatchQuery>>
§phrase: Option<Box<PhraseQuery>>
§boost: Option<Box<BoostQuery>>
§multi_match: Option<Box<MultiMatchQuery>>
§boolean: Option<Box<BooleanQuery>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FtsQuery
impl<'de> Deserialize<'de> for FtsQuery
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
impl StructuralPartialEq for FtsQuery
Auto Trait Implementations§
impl Freeze for FtsQuery
impl RefUnwindSafe for FtsQuery
impl Send for FtsQuery
impl Sync for FtsQuery
impl Unpin for FtsQuery
impl UnwindSafe for FtsQuery
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