hko 1.13.0

Rust library for Hong Kong Observatory Open Data API
Documentation
// Copyright (c) 2021 - 2025 GreenYun Organization
// SPDX-License-Identifier: MIT

use serde::Deserialize;

/// `value` with its `unit`.
#[derive(Clone, Deserialize, Debug, PartialEq)]
pub struct ValUnit {
    pub value: f32,
    pub unit: String,
}

/// `value` with its `unit` in specified `place`.
#[derive(Clone, Deserialize, Debug, PartialEq)]
pub struct PlaceValUnit {
    pub place: String,
    pub value: f32,
    pub unit: String,
}

pub use message::Message;

pub mod message;