pub struct Station {
pub code: String,
pub description: Option<String>,
pub latitude: f64,
pub longitude: f64,
pub elevation: f64,
pub site: Site,
pub start_date: Option<DateTime<Utc>>,
pub end_date: Option<DateTime<Utc>>,
pub creation_date: Option<DateTime<Utc>>,
pub channels: Vec<Channel>,
}Expand description
A seismic station — one physical location with one or more sensors.
Fields§
§code: StringStation code (e.g. “PBUMI”, “ANMO”)
description: Option<String>Human-readable description
latitude: f64Geographic latitude in degrees (WGS84)
longitude: f64Geographic longitude in degrees (WGS84)
elevation: f64Elevation in meters above sea level
site: SiteSite information (name, region, country, etc.)
start_date: Option<DateTime<Utc>>When this station epoch started
end_date: Option<DateTime<Utc>>When this station epoch ended (None = still active)
creation_date: Option<DateTime<Utc>>When this station was originally created
channels: Vec<Channel>Channels (measurement components) at this station
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Station
impl<'de> Deserialize<'de> for Station
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Station
Auto Trait Implementations§
impl Freeze for Station
impl RefUnwindSafe for Station
impl Send for Station
impl Sync for Station
impl Unpin for Station
impl UnsafeUnpin for Station
impl UnwindSafe for Station
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more