libtad_models/places/
location_ref.rs

1use serde::Deserialize;
2
3#[derive(Deserialize)]
4/// Information about a location referenced by a region.
5pub struct LocationRef {
6    /// The ID of the location.
7    pub id: String,
8
9    /// The name of the location.
10    pub name: String,
11
12    /// The state of the location within the country (only if applicable).
13    pub state: Option<String>,
14}