Service

Type Alias Service 

Source
pub type Service = Resource<ServiceAttributes>;
Expand description

A set of dates on which trips run.

Aliased Type§

pub struct Service {
    pub resource_type: String,
    pub id: String,
    pub links: Option<HashMap<String, String>>,
    pub attributes: ServiceAttributes,
    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: ServiceAttributes

Model attributes.

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

Relationships to other data models.