client-api: Fix type of rank in search::search_events::v3::SearchResult
It is defined in the spec as a number, not an integer.
This commit is contained in:
parent
0596e46045
commit
8a3bccaef1
@ -1,5 +1,10 @@
|
|||||||
# [unreleased]
|
# [unreleased]
|
||||||
|
|
||||||
|
Breaking changes:
|
||||||
|
|
||||||
|
- Define `rank` as an `Option<f64>` instead of an `Option<UInt>` in
|
||||||
|
`search::search_events::v3::SearchResult`
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
- Add convenience constructors for enabling lazy-loading in filters
|
- Add convenience constructors for enabling lazy-loading in filters
|
||||||
|
@ -435,7 +435,7 @@ pub mod v3 {
|
|||||||
///
|
///
|
||||||
/// Higher is closer.
|
/// Higher is closer.
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub rank: Option<UInt>,
|
pub rank: Option<f64>,
|
||||||
|
|
||||||
/// The event that matched.
|
/// The event that matched.
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user