From 7c654dc0b0fad5ba0dd39401502a31ad024275f0 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 18 Aug 2021 18:39:51 +0200 Subject: [PATCH] client-api: Appease clippy --- crates/ruma-client-api/src/r0/uiaa.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ruma-client-api/src/r0/uiaa.rs b/crates/ruma-client-api/src/r0/uiaa.rs index 4b8a24c2..9a42180e 100644 --- a/crates/ruma-client-api/src/r0/uiaa.rs +++ b/crates/ruma-client-api/src/r0/uiaa.rs @@ -307,6 +307,7 @@ impl<'a> FallbackAcknowledgement<'a> { #[doc(hidden)] #[derive(Clone, Debug, Serialize)] +#[non_exhaustive] pub struct CustomAuthData<'a> { #[serde(rename = "type")] pub auth_type: &'a str, @@ -317,6 +318,7 @@ pub struct CustomAuthData<'a> { #[doc(hidden)] #[derive(Clone, Debug, Deserialize)] +#[non_exhaustive] pub struct IncomingCustomAuthData { #[serde(rename = "type")] pub auth_type: String,