Struct gtfs_structures::Agency
source · pub struct Agency {
pub id: Option<String>,
pub name: String,
pub url: String,
pub timezone: String,
pub lang: Option<String>,
pub phone: Option<String>,
pub fare_url: Option<String>,
pub email: Option<String>,
}
Expand description
General informations about the agency running the network. See https://gtfs.org/reference/static/#agencytxt
Fields§
§id: Option<String>
Unique technical (not for the traveller) identifier for the Agency
name: String
Full name of the transit agency
url: String
Full name of the transit agency.
timezone: String
Timezone where the transit agency is located
lang: Option<String>
Primary language used by this transit agency
phone: Option<String>
A voice telephone number for the specified agency
fare_url: Option<String>
URL of a web page that allows a rider to purchase tickets or other fare instruments for that agency online
email: Option<String>
Email address actively monitored by the agency’s customer service department
Trait Implementations§
source§impl<'de> Deserialize<'de> for Agency
impl<'de> Deserialize<'de> for Agency
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Type for Agency
impl Type for Agency
source§fn object_type(&self) -> ObjectType
fn object_type(&self) -> ObjectType
What is the type of the object