libtad_models/astronomy/astronomy_location.rs
1use crate::{astronomy::AstronomyDetails, places::Geo};
2use serde::Deserialize;
3
4#[derive(Debug, Deserialize)]
5/// Information about requested location and astronomical objects.
6pub struct AstronomyLocation {
7 /// The id of the location.
8 pub id: String,
9
10 /// Geographical information about the location.
11 pub geo: Geo,
12
13 /// The part of the queried place that this location matches.
14 pub matchparam: String,
15
16 /// Requested astronomical information.
17 pub astronomy: AstronomyDetails,
18}