summaryrefslogtreecommitdiff
path: root/src/types.rs
diff options
context:
space:
mode:
authorstuebinm2022-02-02 17:52:33 +0100
committerstuebinm2022-02-02 17:52:33 +0100
commit36acf9b9e4d35dea60ef2bfe9998d09fd6a1ebef (patch)
treeb0dd150ee974ed55a8d19861d9c07acb86de329b /src/types.rs
parentbe7cc4ca0b7a168a9c6cd110a74d04c35956cdde (diff)
we'll be there in -1000 minutes isn't helpful
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs4
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>,