client-api: Appease clippy

This commit is contained in:
Jonas Platte 2021-08-18 18:39:51 +02:00
parent cfb1b9de04
commit 7c654dc0b0
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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,