Fix mistakenly renamed struct
This commit is contained in:
parent
c363494905
commit
2e0a765820
@ -30,6 +30,8 @@ Breaking changes:
|
||||
session::login,
|
||||
}
|
||||
```
|
||||
* Rename `r0::search::search_events::{RoomEventJsons => ResultRoomEvents}`. The previous name was an
|
||||
error introduced in a mass search and replace
|
||||
|
||||
Improvements:
|
||||
|
||||
|
@ -194,12 +194,12 @@ pub enum OrderBy {
|
||||
pub struct ResultCategories {
|
||||
/// Room event results.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub room_events: Option<RoomEventJsons>,
|
||||
pub room_events: Option<ResultRoomEvents>,
|
||||
}
|
||||
|
||||
/// Categories of events that can be searched for.
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct RoomEventJsons {
|
||||
pub struct ResultRoomEvents {
|
||||
/// An approximate count of the total number of results found.
|
||||
pub count: UInt,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user