diff options
Diffstat (limited to 'src/types.rs')
-rw-r--r-- | src/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types.rs b/src/types.rs index 22ba077..c1c949a 100644 --- a/src/types.rs +++ b/src/types.rs @@ -1,6 +1,6 @@ use serde::{Deserialize, Deserializer}; -use chrono::{DateTime, Local, NaiveDateTime, Utc}; +use chrono::{DateTime, Local, Utc}; use colored::*; use crate::serde::*; @@ -122,7 +122,7 @@ pub struct Train { #[serde(rename_all = "camelCase")] pub struct Status { deprecated: bool, - checked_in: bool, + pub checked_in: bool, from_station: Station, #[serde(deserialize_with = "parse_optional_station")] pub to_station: Option<Station>, |