Struct gtfs_structures::FeedInfo
source · [−]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
sourceimpl<'de> Deserialize<'de> for FeedInfo
impl<'de> Deserialize<'de> for FeedInfo
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for FeedInfo
impl Send for FeedInfo
impl Sync for FeedInfo
impl Unpin for FeedInfo
impl UnwindSafe for FeedInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more