From 4b596c9c849b310d8b7952a4c16fcdd33b34e902 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 1 Feb 2022 16:59:23 +0100 Subject: add `traveltext destination` I have no intention of going to Hamburg today, so I need to check out earlier --- src/travelynx.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/travelynx.rs') diff --git a/src/travelynx.rs b/src/travelynx.rs index 0188f32..5457641 100644 --- a/src/travelynx.rs +++ b/src/travelynx.rs @@ -28,11 +28,13 @@ pub enum Action { comment: Option, }, #[serde(rename = "checkout")] + #[serde(rename_all = "camelCase")] CheckOut { to_station: String, force: bool, #[serde(skip_serializing_if = "Option::is_none")] comment: Option, + token: String }, Undo {token: String}, } -- cgit v1.2.3