diff --git a/src/r0/capabilities/get_capabilities.rs b/src/r0/capabilities/get_capabilities.rs index 43f42ff0..b4f1e97a 100644 --- a/src/r0/capabilities/get_capabilities.rs +++ b/src/r0/capabilities/get_capabilities.rs @@ -1,6 +1,7 @@ -//! [GET /_matrix/client/r0/capabilities](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-capabilities) +//! [GET /_matrix/client/r0/capabilities](https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-capabilities) use ruma_api::ruma_api; +use ruma_identifiers::RoomVersionId; use serde::{Deserialize, Serialize}; use serde_json::Value as JsonValue; use std::collections::BTreeMap; @@ -56,17 +57,17 @@ pub struct RoomVersionsCapability { pub default: String, /// A detailed description of the room versions the server supports. - pub available: BTreeMap, + pub available: BTreeMap, } /// The stability of a room version #[derive(Clone, Copy, Debug, Serialize, Deserialize)] pub enum RoomVersionStability { - /// An unstable room version + /// Support for the given version is stable. #[serde(rename = "stable")] Stable, - /// A stable room version + /// Support for the given version is unstable. #[serde(rename = "unstable")] Unstable, }