Add missing Debug implementations

This commit is contained in:
Jonas Platte 2021-06-25 12:08:49 +02:00
parent 0f1c52aaab
commit ef96b0f381
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
2 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ pub struct EncryptedFile {
/// ///
/// This struct will not be updated even if additional fields are added to `EncryptedFile` in a new /// This struct will not be updated even if additional fields are added to `EncryptedFile` in a new
/// (non-breaking) release of the Matrix specification. /// (non-breaking) release of the Matrix specification.
#[derive(Debug)]
#[allow(clippy::exhaustive_structs)] #[allow(clippy::exhaustive_structs)]
pub struct EncryptedFileInit { pub struct EncryptedFileInit {
/// The URL to the file. /// The URL to the file.
@ -188,6 +189,7 @@ pub struct JsonWebKey {
/// ///
/// This struct will not be updated even if additional fields are added to `JsonWebKey` in a new /// This struct will not be updated even if additional fields are added to `JsonWebKey` in a new
/// (non-breaking) release of the Matrix specification. /// (non-breaking) release of the Matrix specification.
#[derive(Debug)]
#[allow(clippy::exhaustive_structs)] #[allow(clippy::exhaustive_structs)]
pub struct JsonWebKeyInit { pub struct JsonWebKeyInit {
/// Key type. Must be `oct`. /// Key type. Must be `oct`.

View File

@ -82,6 +82,7 @@ impl UnsignedEventContent {
} }
/// Initial set of fields of `Request`. /// Initial set of fields of `Request`.
#[derive(Debug)]
#[allow(clippy::exhaustive_structs)] #[allow(clippy::exhaustive_structs)]
pub struct RequestInit<'a> { pub struct RequestInit<'a> {
/// The room ID that the user is being invited to. /// The room ID that the user is being invited to.