mangadex_api_schema_rust/v5/user.rs
use mangadex_api_types::UserRole;
use serde::Deserialize;
/// General user information.
#[derive(Clone, Debug, Deserialize)]
#[cfg_attr(feature = "non_exhaustive", non_exhaustive)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub struct UserAttributes {
pub username: String,
pub roles: Vec<UserRole>,
pub version: u32,
}