#[non_exhaustive]pub struct QueryTerm {
pub value: String,
pub full_match: bool,
/* private fields */
}Available on crate feature
control-service only.Expand description
Matcher for search request query
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: StringThe specific query value to match against
Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters.
full_match: boolWhether the search query needs to exactly match the query term.
Implementations§
Trait Implementations§
impl StructuralPartialEq for QueryTerm
Auto Trait Implementations§
impl Freeze for QueryTerm
impl RefUnwindSafe for QueryTerm
impl Send for QueryTerm
impl Sync for QueryTerm
impl Unpin for QueryTerm
impl UnwindSafe for QueryTerm
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