mangadex-api-schema-rust 0.1.0

Response structs and helpers for mangadex-api
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::Deserialize;

/// General user information.
#[derive(Clone, Debug, Deserialize)]
#[non_exhaustive]
pub struct UserAttributes {
    pub username: String,
    // TODO: Map these roles to an enum.
    pub roles: Vec<String>,
    pub version: u32,
}