pub struct GTFSFeedInfo {
pub feed_publisher_name: String,
pub feed_publisher_url: String,
pub feed_lang: String,
pub default_lang: Option<String>,
pub feed_start_date: Option<String>,
pub feed_end_date: Option<String>,
pub feed_version: Option<String>,
pub feed_contact_email: Option<String>,
pub feed_contact_url: Option<String>,
}Expand description
§Feed Information
Conditionally Required Contains information about the dataset itself (publisher, version, etc.).
- Required if
translations.txtis used. - Recommended otherwise.
Fields§
§feed_publisher_name: StringRequired Full name of the organization that publishes the dataset.
feed_publisher_url: StringRequired URL of the dataset publisher’s website.
feed_lang: StringRequired Default language code for the text in this dataset. For multilingual datasets, use “mul” and translations.txt for further detail.
default_lang: Option<String>Optional Language used if the consumer does not know the rider’s language, often “en”.
feed_start_date: Option<String>Recommended
First date of service the dataset covers, in YYYYMMDD format.
feed_end_date: Option<String>Recommended
Last date of service the dataset covers, in YYYYMMDD format.
Must not precede feed_start_date if both are given.
feed_version: Option<String>Recommended Current version identifier for this GTFS dataset.
feed_contact_email: Option<String>Optional Email address for technical contact about the dataset.
feed_contact_url: Option<String>Optional URL for technical contact or support form regarding the dataset.
Implementations§
Source§impl GTFSFeedInfo
impl GTFSFeedInfo
Trait Implementations§
Source§impl Clone for GTFSFeedInfo
impl Clone for GTFSFeedInfo
Source§fn clone(&self) -> GTFSFeedInfo
fn clone(&self) -> GTFSFeedInfo
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GTFSFeedInfo
impl Debug for GTFSFeedInfo
Source§impl Default for GTFSFeedInfo
impl Default for GTFSFeedInfo
Source§fn default() -> GTFSFeedInfo
fn default() -> GTFSFeedInfo
Source§impl From<&Map<String, ValueType>> for GTFSFeedInfo
Starting from a ref to an MValue, convert to a struct
impl From<&Map<String, ValueType>> for GTFSFeedInfo
Starting from a ref to an MValue, convert to a struct
Source§impl From<&ValueType> for GTFSFeedInfo
If this struct ref is nested into another struct, pull out the MValue and let
From handle
impl From<&ValueType> for GTFSFeedInfo
If this struct ref is nested into another struct, pull out the MValue and let
From
Source§impl From<GTFSFeedInfo> for MValue
Starting from a struct, convert to an MValue
impl From<GTFSFeedInfo> for MValue
Starting from a struct, convert to an MValue
Source§fn from(value: GTFSFeedInfo) -> MValue
fn from(value: GTFSFeedInfo) -> MValue
Source§impl From<GTFSFeedInfo> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
impl From<GTFSFeedInfo> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
Source§fn from(value: GTFSFeedInfo) -> ValueType
fn from(value: GTFSFeedInfo) -> ValueType
Source§impl From<Map<String, ValueType>> for GTFSFeedInfo
Starting from an MValue, convert to a struct
impl From<Map<String, ValueType>> for GTFSFeedInfo
Starting from an MValue, convert to a struct
Source§impl From<ValueType> for GTFSFeedInfo
If this struct is nested into another struct, pull out the MValue and let
From handle
impl From<ValueType> for GTFSFeedInfo
If this struct is nested into another struct, pull out the MValue and let
From
Source§impl PartialEq for GTFSFeedInfo
impl PartialEq for GTFSFeedInfo
impl MValueCompatible for GTFSFeedInfo
Finally implement the MValueCompatible trait
impl StructuralPartialEq for GTFSFeedInfo
Auto Trait Implementations§
impl Freeze for GTFSFeedInfo
impl RefUnwindSafe for GTFSFeedInfo
impl Send for GTFSFeedInfo
impl Sync for GTFSFeedInfo
impl Unpin for GTFSFeedInfo
impl UnwindSafe for GTFSFeedInfo
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().