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: 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: ServiceAttributesModel attributes.
relationships: Option<HashMap<String, Relationships>>Relationships to other data models.