sbb-api 0.1.0

A library to interact with sbb.ch's unofficial API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Serialize, Deserialize, Debug)]
pub struct LegendOccupancy {
    pub actions: Vec<String>,
    pub code : Option<String>,
    pub description: Option<String>,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct LegendItem {
    pub actions: Vec<String>,
    pub code : Option<String>,
    pub description: Option<String>,
}