libtad_models/tides/station.rs
1use super::{StationInfo, Tide};
2use serde::Deserialize;
3
4#[derive(Debug, Deserialize)]
5/// Predicted data for a given station.
6pub struct Station {
7 /// The source station for the predicted tidal data.
8 pub source: StationInfo,
9
10 /// The part of the queried placeid that this location matches.
11 pub matchparam: String,
12
13 /// Requested tidal information.
14 pub result: Vec<Tide>,
15}