pub struct Matches {
pub query: String,
pub strict: bool,
pub offset: u64,
pub limit: u8,
pub total: u64,
pub more: bool,
pub yanked: bool,
pub invoices: Vec<Invoice>,
}Expand description
Describes the matches that are returned from a query
Fields§
§query: StringThe query used to find this match set
strict: boolWhether the search engine used strict mode
offset: u64The offset of the first result in the matches
limit: u8The maximum number of results this query would have returned
total: u64The total number of matches the search engine located
In many cases, this will not match the number of results returned on this query
more: boolWhether there are more results than the ones returned here
yanked: boolWhether this list includes potentially yanked invoices
invoices: Vec<Invoice>The list of invoices returned as this part of the query
The length of this Vec will be less than or equal to the limit.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Matches
impl<'de> Deserialize<'de> for Matches
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