pub type Prediction = Resource<PredictionAttributes>;Expand description
The predicted arrival and departure time to/from a stop at a given sequence along a trip going a direction along a route.
Aliased Type§
pub struct Prediction {
pub resource_type: String,
pub id: String,
pub links: Option<HashMap<String, String>>,
pub attributes: PredictionAttributes,
pub relationships: Option<HashMap<String, Relationships>>,
}Fields§
§resource_type: StringThe JSON API resource type.
id: StringThe JSON API resource id.
links: Option<HashMap<String, String>>Related endpoint links. This field could use some more documentation.
attributes: PredictionAttributesModel attributes.
relationships: Option<HashMap<String, Relationships>>Relationships to other data models.