wp-mini 0.2.0-alpha.4

Minimal async API Wrapper for WP | Only Reader/Public API | Extremely minimal.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::Deserialize;

/// Represents a language object from the Wattpad API.
#[derive(Debug, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
pub struct Language {
    /// The unique numerical identifier of the language.
    pub id: Option<u64>,
    /// The full name of the language (e.g., "English").
    pub name: Option<String>,
}