Add more documentation comments

This commit is contained in:
link2xt
2023-02-23 12:55:43 +00:00
parent ee81d61988
commit ade3d0d4eb
7 changed files with 23 additions and 0 deletions

View File

@@ -473,11 +473,15 @@ fn decode_webrtc_instance(_context: &Context, qr: &str) -> Result<Qr> {
#[derive(Debug, Deserialize)]
struct CreateAccountSuccessResponse {
/// Email address.
email: String,
/// Password.
password: String,
}
#[derive(Debug, Deserialize)]
struct CreateAccountErrorResponse {
/// Reason for the failure to create account returned by the server.
reason: String,
}