pub struct FeedInfo {
pub name: String,
pub url: String,
pub lang: String,
pub default_lang: Option<String>,
pub start_date: Option<NaiveDate>,
pub end_date: Option<NaiveDate>,
pub version: Option<String>,
pub contact_email: Option<String>,
pub contact_url: Option<String>,
}
Expand description
Meta-data about the feed. See https://gtfs.org/reference/static/#feed_infotxt
Fields§
§name: String
Full name of the organization that publishes the dataset.
url: String
URL of the dataset publishing organization’s website
lang: String
Default language used for the text in this dataset
default_lang: Option<String>
Defines the language that should be used when the data consumer doesn’t know the language of the rider
start_date: Option<NaiveDate>
The dataset provides complete and reliable schedule information for service in the period from this date
end_date: Option<NaiveDate>
The dataset provides complete and reliable schedule information for service in the period until this date
version: Option<String>
String that indicates the current version of their GTFS dataset
contact_email: Option<String>
Email address for communication regarding the GTFS dataset and data publishing practices
contact_url: Option<String>
URL for contact information, a web-form, support desk, or other tools for communication regarding the GTFS dataset and data publishing practices
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeedInfo
impl<'de> Deserialize<'de> for FeedInfo
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>,
Auto Trait Implementations§
impl Freeze for FeedInfo
impl RefUnwindSafe for FeedInfo
impl Send for FeedInfo
impl Sync for FeedInfo
impl Unpin for FeedInfo
impl UnwindSafe for FeedInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.