hko 1.13.0

Rust library for Hong Kong Observatory Open Data API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2021 - 2025 GreenYun Organization
// SPDX-License-Identifier: MIT

use strum::Display;

/// The `Lang` type has three values:
/// `EN` for English,
/// `SC` for Simplified Chinese, and
/// `TC` for Traditional Chinese.
#[derive(Clone, Copy, Display)]
#[strum(serialize_all = "lowercase")]
pub enum Lang {
    EN,
    SC,
    TC,
}