pub struct Event {
pub id: String,
pub url: String,
pub source: SourceId,
pub time: DateTime<Utc>,
pub updated: DateTime<Utc>,
pub status: ReportStatus,
pub longitude: f64,
pub latitude: f64,
pub depth: f64,
pub magnitude: f64,
pub place: String,
}
Expand description
A reported seismic event.
Fields§
§id: String
Event ID from its source, forms vary.
url: String
Published URL from its source.
source: SourceId
ID of its source.
time: DateTime<Utc>
Time event occurred.
updated: DateTime<Utc>
Last time the source updated this event.
status: ReportStatus
§longitude: f64
§latitude: f64
§depth: f64
§magnitude: f64
§place: String