From ef96b0f38146883d9046749ea9ae0a065bf505b1 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 25 Jun 2021 12:08:49 +0200 Subject: [PATCH] Add missing Debug implementations --- crates/ruma-events/src/room.rs | 2 ++ crates/ruma-federation-api/src/membership/create_invite/v1.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/crates/ruma-events/src/room.rs b/crates/ruma-events/src/room.rs index b6f9f47d..3fb9b147 100644 --- a/crates/ruma-events/src/room.rs +++ b/crates/ruma-events/src/room.rs @@ -134,6 +134,7 @@ pub struct EncryptedFile { /// /// This struct will not be updated even if additional fields are added to `EncryptedFile` in a new /// (non-breaking) release of the Matrix specification. +#[derive(Debug)] #[allow(clippy::exhaustive_structs)] pub struct EncryptedFileInit { /// 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 /// (non-breaking) release of the Matrix specification. +#[derive(Debug)] #[allow(clippy::exhaustive_structs)] pub struct JsonWebKeyInit { /// Key type. Must be `oct`. diff --git a/crates/ruma-federation-api/src/membership/create_invite/v1.rs b/crates/ruma-federation-api/src/membership/create_invite/v1.rs index 4f8f04a0..2cb3820a 100644 --- a/crates/ruma-federation-api/src/membership/create_invite/v1.rs +++ b/crates/ruma-federation-api/src/membership/create_invite/v1.rs @@ -82,6 +82,7 @@ impl UnsignedEventContent { } /// Initial set of fields of `Request`. +#[derive(Debug)] #[allow(clippy::exhaustive_structs)] pub struct RequestInit<'a> { /// The room ID that the user is being invited to.