Crate railway_core
source ·Expand description
Structs§
- The age of a person in years.
- At what frequency the train drives.
- A single journey from source to destination.
- The options for
Provider::journeys
- The response for
Provider::journeys
- A leg of a journey.
- A line serving a
Leg
. - The options for
Provider::locations
- The operator serving a
Line
. - The price of the trip.
- The product a
Line
uses. - A selection of modes.
- The options for
Provider::refresh_journey
- A remark on a leg or stopover.
- A station where trains drive from.
- A place where the train stops.
Enums§
- How accessible a trip should be.
- An error in the API.
- An intermediate locaion of a leg.
- How full a
Leg
is. - A general location.
- Different kinds of loyalty cards supported.
- Different modes of transport.
- Any place.
- What to associate a
Remark
with. - What type a remark has.
- What class to travel with.
- How often is a journey allowed to transfer.
Traits§
- The core type definition specifying what a provider needs to do.
- A general trait to query data from the internet.
- Build a
Requester
.
Type Aliases§
- The response given by
Provider::locations
- The result for
Provider::refresh_journey