Prediction

Type Alias Prediction 

Source
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: String

The JSON API resource type.

§id: String

The JSON API resource id.

§links: Option<HashMap<String, String>>

Related endpoint links. This field could use some more documentation.

§attributes: PredictionAttributes

Model attributes.

§relationships: Option<HashMap<String, Relationships>>

Relationships to other data models.