libtad_models/tides/
station_info.rs

1use serde::Deserialize;
2
3#[derive(Debug, Deserialize)]
4/// Information about a station.
5pub struct StationInfo {
6    /// Station name.
7    pub name: String,
8
9    /// Latitude coordinate of the station.
10    pub latitude: f32,
11
12    /// Longitude coordinate of the station.
13    pub longitude: f32,
14
15    /// Station type. Either reference or subordinate station.
16    pub r#type: String,
17
18    /// Distance between request place and this station.
19    pub distance: f32,
20}