diff options
author | stuebinm | 2022-02-01 16:59:23 +0100 |
---|---|---|
committer | stuebinm | 2022-02-01 16:59:23 +0100 |
commit | 4b596c9c849b310d8b7952a4c16fcdd33b34e902 (patch) | |
tree | f17823f77611346cf3e9921ebe934a0c2a2c6afc /src/travelynx.rs | |
parent | 02ecd1cbd159823b0ab36541b51ee4cb47bf2c95 (diff) |
add `traveltext destination`
I have no intention of going to Hamburg today, so I need to check out earlier
Diffstat (limited to '')
-rw-r--r-- | src/travelynx.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<String>, }, #[serde(rename = "checkout")] + #[serde(rename_all = "camelCase")] CheckOut { to_station: String, force: bool, #[serde(skip_serializing_if = "Option::is_none")] comment: Option<String>, + token: String }, Undo {token: String}, } |