first commit
This commit is contained in:
commit
2a1854ab08
120 files changed
+11300
No files matched your search
@@ -0,0 +1,18 @@
|
||||
use serde::Serialize;
|
||||
use sqlx::types::Json as SqlxJson;
|
||||
|
||||
#[derive(Debug, Serialize, sqlx::FromRow)]
|
||||
pub struct StopDetail {
|
||||
pub id: i32,
|
||||
pub code: String,
|
||||
pub name_th: String,
|
||||
pub city_th: Option<String>,
|
||||
pub province_th: Option<String>,
|
||||
pub station_type: String,
|
||||
pub attributes: SqlxJson<serde_json::Value>,
|
||||
pub metadata: SqlxJson<serde_json::Value>,
|
||||
pub images: SqlxJson<serde_json::Value>,
|
||||
pub routes: SqlxJson<serde_json::Value>,
|
||||
pub lng: Option<f64>,
|
||||
pub lat: Option<f64>,
|
||||
}
|
||||
Reference in new issue
Block a user