client-api: Make fields of doc(hidden) structs private
This commit is contained in:
parent
8f88386125
commit
5d36a97b59
@ -519,10 +519,10 @@ impl<'a> FallbackAcknowledgement<'a> {
|
|||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
pub struct CustomAuthData<'a> {
|
pub struct CustomAuthData<'a> {
|
||||||
#[serde(rename = "type")]
|
#[serde(rename = "type")]
|
||||||
pub auth_type: &'a str,
|
auth_type: &'a str,
|
||||||
pub session: Option<&'a str>,
|
session: Option<&'a str>,
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
pub extra: JsonObject,
|
extra: JsonObject,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
@ -530,10 +530,10 @@ pub struct CustomAuthData<'a> {
|
|||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
pub struct IncomingCustomAuthData {
|
pub struct IncomingCustomAuthData {
|
||||||
#[serde(rename = "type")]
|
#[serde(rename = "type")]
|
||||||
pub auth_type: String,
|
auth_type: String,
|
||||||
pub session: Option<String>,
|
session: Option<String>,
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
pub extra: JsonObject,
|
extra: JsonObject,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Outgoing for CustomAuthData<'_> {
|
impl Outgoing for CustomAuthData<'_> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user