pub struct GTFSAgency {
pub agency_id: String,
pub agency_name: String,
pub agency_url: String,
pub agency_timezone: String,
pub agency_lang: Option<String>,
pub agency_phone: Option<String>,
pub agency_fare_url: Option<String>,
pub agency_email: Option<String>,
}Expand description
Fields§
§agency_id: StringRequired
Identifies a location: stop/platform, station, entrance/exit, generic node or boarding area (see location_type).
ID must be unique across all stops. stop_id, locations.geojson id, and location_groups.location_group_id values.
Multiple routes may use the same stop_id.
agency_name: StringRequired Full name of the transit agency.
agency_url: StringRequired URL of the transit agency.
agency_timezone: StringRequired
Timezone where the transit agency is located.
If multiple agencies are specified in the dataset, each must have the same agency_timezone.
agency_lang: Option<String>Optional Primary language used by this transit agency. Should be provided to help GTFS consumers choose capitalization rules and other language-specific settings for the dataset. See ISO 639 for language codes.
agency_phone: Option<String>Optional A voice telephone number for the specified agency. This field is a string value that presents the telephone number as typical for the agency’s service area.
agency_fare_url: Option<String>Optional URL of a web page that allows a rider to purchase tickets or other fare instruments for that agency online.
agency_email: Option<String>Optional Email address actively monitored by the agency’s customer service department. This email address should be a direct contact point where transit riders can reach a customer service representative at the agency.
Implementations§
Source§impl GTFSAgency
impl GTFSAgency
Trait Implementations§
Source§impl Clone for GTFSAgency
impl Clone for GTFSAgency
Source§fn clone(&self) -> GTFSAgency
fn clone(&self) -> GTFSAgency
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GTFSAgency
impl Debug for GTFSAgency
Source§impl Default for GTFSAgency
impl Default for GTFSAgency
Source§fn default() -> GTFSAgency
fn default() -> GTFSAgency
Source§impl From<&Map<String, ValueType>> for GTFSAgency
Starting from a ref to an MValue, convert to a struct
impl From<&Map<String, ValueType>> for GTFSAgency
Starting from a ref to an MValue, convert to a struct
Source§impl From<&ValueType> for GTFSAgency
If this struct ref is nested into another struct, pull out the MValue and let
From handle
impl From<&ValueType> for GTFSAgency
If this struct ref is nested into another struct, pull out the MValue and let
From
Source§impl From<GTFSAgency> for MValue
Starting from a struct, convert to an MValue
impl From<GTFSAgency> for MValue
Starting from a struct, convert to an MValue
Source§fn from(value: GTFSAgency) -> MValue
fn from(value: GTFSAgency) -> MValue
Source§impl From<GTFSAgency> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
impl From<GTFSAgency> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
Source§fn from(value: GTFSAgency) -> ValueType
fn from(value: GTFSAgency) -> ValueType
Source§impl From<ValueType> for GTFSAgency
If this struct is nested into another struct, pull out the MValue and let
From handle
impl From<ValueType> for GTFSAgency
If this struct is nested into another struct, pull out the MValue and let
From
Source§impl PartialEq for GTFSAgency
impl PartialEq for GTFSAgency
impl MValueCompatible for GTFSAgency
Finally implement the MValueCompatible trait
impl StructuralPartialEq for GTFSAgency
Auto Trait Implementations§
impl Freeze for GTFSAgency
impl RefUnwindSafe for GTFSAgency
impl Send for GTFSAgency
impl Sync for GTFSAgency
impl Unpin for GTFSAgency
impl UnwindSafe for GTFSAgency
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().