Struct meilisearch_sdk::search::SearchResult [−][src]
pub struct SearchResult<T> {
pub result: T,
pub formatted_result: Option<Map<String, Value>>,
pub matches_info: Option<HashMap<String, Vec<MatchRange>>>,
}Expand description
A single result. Contains the complete object, optionally the formatted object, and optionally an object that contains information about the matches.
Fields
result: TThe full result.
formatted_result: Option<Map<String, Value>>The formatted result.
matches_info: Option<HashMap<String, Vec<MatchRange>>>The object that contains information about the matches.
Trait Implementations
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<T> RefUnwindSafe for SearchResult<T> where
T: RefUnwindSafe,
impl<T> Send for SearchResult<T> where
T: Send,
impl<T> Sync for SearchResult<T> where
T: Sync,
impl<T> Unpin for SearchResult<T> where
T: Unpin,
impl<T> UnwindSafe for SearchResult<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
