client-api: Make fields of doc(hidden) structs private

This commit is contained in:
Jonas Platte 2021-09-27 13:30:17 +02:00
parent 8f88386125
commit 5d36a97b59
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -519,10 +519,10 @@ impl<'a> FallbackAcknowledgement<'a> {
#[non_exhaustive]
pub struct CustomAuthData<'a> {
#[serde(rename = "type")]
pub auth_type: &'a str,
pub session: Option<&'a str>,
auth_type: &'a str,
session: Option<&'a str>,
#[serde(flatten)]
pub extra: JsonObject,
extra: JsonObject,
}
#[doc(hidden)]
@ -530,10 +530,10 @@ pub struct CustomAuthData<'a> {
#[non_exhaustive]
pub struct IncomingCustomAuthData {
#[serde(rename = "type")]
pub auth_type: String,
pub session: Option<String>,
auth_type: String,
session: Option<String>,
#[serde(flatten)]
pub extra: JsonObject,
extra: JsonObject,
}
impl Outgoing for CustomAuthData<'_> {