pub struct BatchQueryResults {
pub total_reactions: usize,
pub matching_reactions: usize,
pub match_percentage: f64,
pub matches: Vec<(usize, bool)>,
}Expand description
Batch query results with statistics and filtering.
Fields§
§total_reactions: usizeTotal reactions queried
matching_reactions: usizeReactions that matched the query
match_percentage: f64Match percentage (0-100)
matches: Vec<(usize, bool)>Individual match results
Implementations§
Source§impl BatchQueryResults
impl BatchQueryResults
Sourcepub fn matching_indices(&self) -> Vec<usize>
pub fn matching_indices(&self) -> Vec<usize>
Get indices of all matching reactions
Sourcepub fn non_matching_indices(&self) -> Vec<usize>
pub fn non_matching_indices(&self) -> Vec<usize>
Get indices of all non-matching reactions
Trait Implementations§
Source§impl Clone for BatchQueryResults
impl Clone for BatchQueryResults
Source§fn clone(&self) -> BatchQueryResults
fn clone(&self) -> BatchQueryResults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BatchQueryResults
impl RefUnwindSafe for BatchQueryResults
impl Send for BatchQueryResults
impl Sync for BatchQueryResults
impl Unpin for BatchQueryResults
impl UnsafeUnpin for BatchQueryResults
impl UnwindSafe for BatchQueryResults
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