diff --git a/ruma-client-api/CHANGELOG.md b/ruma-client-api/CHANGELOG.md index bc0ad93d..c9036020 100644 --- a/ruma-client-api/CHANGELOG.md +++ b/ruma-client-api/CHANGELOG.md @@ -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: diff --git a/ruma-client-api/src/r0/search/search_events.rs b/ruma-client-api/src/r0/search/search_events.rs index bb8af819..9237bf99 100644 --- a/ruma-client-api/src/r0/search/search_events.rs +++ b/ruma-client-api/src/r0/search/search_events.rs @@ -194,12 +194,12 @@ pub enum OrderBy { pub struct ResultCategories { /// Room event results. #[serde(skip_serializing_if = "Option::is_none")] - pub room_events: Option, + pub room_events: Option, } /// 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,