pub struct BatchSearchQuery {
pub query: String,
pub limit: Option<usize>,
pub score_threshold: Option<f32>,
}
Expand description
Batch search query
Fields§
§query: String
Query text
limit: Option<usize>
Maximum number of results
score_threshold: Option<f32>
Minimum score threshold
Trait Implementations§
Source§impl Clone for BatchSearchQuery
impl Clone for BatchSearchQuery
Source§fn clone(&self) -> BatchSearchQuery
fn clone(&self) -> BatchSearchQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BatchSearchQuery
impl Debug for BatchSearchQuery
Source§impl<'de> Deserialize<'de> for BatchSearchQuery
impl<'de> Deserialize<'de> for BatchSearchQuery
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 BatchSearchQuery
impl RefUnwindSafe for BatchSearchQuery
impl Send for BatchSearchQuery
impl Sync for BatchSearchQuery
impl Unpin for BatchSearchQuery
impl UnwindSafe for BatchSearchQuery
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