libtad-rs 0.2.0

Rust library for accessing Time and Date APIs
Documentation
1
2
3
4
5
6
7
8
9
use crate::models::astronomy::AstronomyLocation;
use serde::Deserialize;

#[derive(Debug, Deserialize)]
/// Astronomy API response.
pub struct AstronomyResponse {
    /// Information for the requested locations.
    pub locations: Vec<AstronomyLocation>,
}