pub struct BatchQueryResult {
pub id: Option<String>,
pub results: Vec<Match>,
pub latency_ms: f64,
pub error: Option<String>,
}Expand description
Results for a single query within a batch
Fields§
§id: Option<String>The query identifier (if provided in request)
results: Vec<Match>Query results (empty if an error occurred)
latency_ms: f64Query execution time in milliseconds
error: Option<String>Error message if this individual query failed
Trait Implementations§
Source§impl Clone for BatchQueryResult
impl Clone for BatchQueryResult
Source§fn clone(&self) -> BatchQueryResult
fn clone(&self) -> BatchQueryResult
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 BatchQueryResult
impl Debug for BatchQueryResult
Source§impl<'de> Deserialize<'de> for BatchQueryResult
impl<'de> Deserialize<'de> for BatchQueryResult
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 BatchQueryResult
impl RefUnwindSafe for BatchQueryResult
impl Send for BatchQueryResult
impl Sync for BatchQueryResult
impl Unpin for BatchQueryResult
impl UnsafeUnpin for BatchQueryResult
impl UnwindSafe for BatchQueryResult
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