libQuotient
A Qt library for building matrix clients
Quotient::SearchJob::Result Struct Reference

The result object. More...

#include <search.h>

Public Attributes

std::optional< double > rank {}
 A number that describes how closely this result matches the search. Higher is closer. More...
 
RoomEventPtr result {}
 The event that matched. More...
 
std::optional< EventContextcontext {}
 Context for result, if requested. More...
 

Detailed Description

The result object.

Definition at line 114 of file search.h.

Member Data Documentation

◆ context

std::optional<EventContext> Quotient::SearchJob::Result::context {}

Context for result, if requested.

Definition at line 122 of file search.h.

◆ rank

std::optional<double> Quotient::SearchJob::Result::rank {}

A number that describes how closely this result matches the search. Higher is closer.

Definition at line 116 of file search.h.

◆ result

RoomEventPtr Quotient::SearchJob::Result::result {}

The event that matched.

Definition at line 119 of file search.h.


The documentation for this struct was generated from the following file: