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
sourceimpl<'de> Deserialize<'de> for Agency
impl<'de> Deserialize<'de> for Agency
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
sourceimpl Type for Agency
impl Type for Agency
sourcefn object_type(&self) -> ObjectType
fn object_type(&self) -> ObjectType
What is the type of the object
Auto Trait Implementations
impl RefUnwindSafe for Agency
impl Send for Agency
impl Sync for Agency
impl Unpin for Agency
impl UnwindSafe for Agency
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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