client-api: Separate docstring into two paragraphs

This commit is contained in:
Jonas Platte 2023-11-16 10:30:34 +01:00
parent 8467e1342e
commit 2aa8745bd3
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ pub struct Request {
#[response(error = crate::Error)] #[response(error = crate::Error)]
pub struct Response { pub struct Response {
/// If any remote homeservers could not be reached, they are recorded here. /// If any remote homeservers could not be reached, they are recorded here.
///
/// The names of the properties are the names of the unreachable servers. /// The names of the properties are the names of the unreachable servers.
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")] #[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
pub failures: BTreeMap<String, JsonValue>, pub failures: BTreeMap<String, JsonValue>,

View File

@ -42,6 +42,7 @@ pub struct Request {
#[response(error = crate::Error)] #[response(error = crate::Error)]
pub struct Response { pub struct Response {
/// If any remote homeservers could not be reached, they are recorded here. /// If any remote homeservers could not be reached, they are recorded here.
///
/// The names of the properties are the names of the unreachable servers. /// The names of the properties are the names of the unreachable servers.
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")] #[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
pub failures: BTreeMap<String, JsonValue>, pub failures: BTreeMap<String, JsonValue>,