pub struct GTFSNetwork {
pub network_id: String,
pub network_name: Option<String>,
}Expand description
§Networks
Conditionally Forbidden
Defines network identifiers. Used to group routes under a named network
for fare leg rules. This file is forbidden if network_id exists in routes.txt,
otherwise optional.
Fields§
§network_id: StringRequired
Identifies a network (network_id). Must be unique in networks.txt.
network_name: Option<String>Optional The name of the network as used by the local agency and its riders.
Implementations§
Source§impl GTFSNetwork
impl GTFSNetwork
Trait Implementations§
Source§impl Clone for GTFSNetwork
impl Clone for GTFSNetwork
Source§fn clone(&self) -> GTFSNetwork
fn clone(&self) -> GTFSNetwork
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GTFSNetwork
impl Debug for GTFSNetwork
Source§impl Default for GTFSNetwork
impl Default for GTFSNetwork
Source§fn default() -> GTFSNetwork
fn default() -> GTFSNetwork
Source§impl From<&Map<String, ValueType>> for GTFSNetwork
Starting from a ref to an MValue, convert to a struct
impl From<&Map<String, ValueType>> for GTFSNetwork
Starting from a ref to an MValue, convert to a struct
Source§impl From<&ValueType> for GTFSNetwork
If this struct ref is nested into another struct, pull out the MValue and let
From handle
impl From<&ValueType> for GTFSNetwork
If this struct ref is nested into another struct, pull out the MValue and let
From
Source§impl From<GTFSNetwork> for MValue
Starting from a struct, convert to an MValue
impl From<GTFSNetwork> for MValue
Starting from a struct, convert to an MValue
Source§fn from(value: GTFSNetwork) -> MValue
fn from(value: GTFSNetwork) -> MValue
Source§impl From<GTFSNetwork> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
impl From<GTFSNetwork> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
Source§fn from(value: GTFSNetwork) -> ValueType
fn from(value: GTFSNetwork) -> ValueType
Source§impl From<Map<String, ValueType>> for GTFSNetwork
Starting from an MValue, convert to a struct
impl From<Map<String, ValueType>> for GTFSNetwork
Starting from an MValue, convert to a struct
Source§impl From<ValueType> for GTFSNetwork
If this struct is nested into another struct, pull out the MValue and let
From handle
impl From<ValueType> for GTFSNetwork
If this struct is nested into another struct, pull out the MValue and let
From
Source§impl PartialEq for GTFSNetwork
impl PartialEq for GTFSNetwork
impl MValueCompatible for GTFSNetwork
Finally implement the MValueCompatible trait
impl StructuralPartialEq for GTFSNetwork
Auto Trait Implementations§
impl Freeze for GTFSNetwork
impl RefUnwindSafe for GTFSNetwork
impl Send for GTFSNetwork
impl Sync for GTFSNetwork
impl Unpin for GTFSNetwork
impl UnwindSafe for GTFSNetwork
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().