mangadex_api_schema_rust/v5/check_username_available.rs
use serde::Deserialize;
use crate::FromResponse;
#[derive(Debug, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub struct CheckUsernameAvailableResponse {
pub available: bool,
}
impl FromResponse for CheckUsernameAvailableResponse {
type Response = Self;
fn from_response(value: Self::Response) -> Self {
value
}
}