mangadex_api_schema_rust/v5/
refresh_token_response.rsuse serde::Deserialize;
use crate::v5::AuthTokens;
use crate::FromResponse;
#[derive(Clone, Debug, Deserialize)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub struct RefreshTokenResponse {
pub token: AuthTokens,
pub message: Option<String>,
}
impl FromResponse for RefreshTokenResponse {
type Response = Self;
fn from_response(res: Self::Response) -> Self {
res
}
}