libtad-models 0.2.0

Time and Date API models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::Geo;
use serde::Deserialize;

#[derive(Debug, Deserialize)]
/// Information about a place.
pub struct Place {
    /// Numerical ID of the referenced place.
    pub id: i32,

    /// Textual ID of the referenced place.
    pub urlid: String,

    /// Geographical information about the location.
    pub geo: Geo,
}