pub struct GTFSStopArea {
pub area_id: String,
pub stop_id: String,
}Expand description
§Stop Areas
Optional
Assigns stops to areas. Multiple rows can reference the same area_id to
indicate that different stops belong to the same area. Conversely, a single
stop_id can appear in multiple areas if needed.
Fields§
§area_id: StringRequired
Identifies an area (areas.area_id).
stop_id: StringRequired
Identifies a stop (stops.stop_id). If a station is defined (location_type=1),
it implies all its child platforms (location_type=0) also belong to this area,
unless otherwise assigned.
Implementations§
Source§impl GTFSStopArea
impl GTFSStopArea
Sourcepub fn new(source: &str) -> Vec<GTFSStopArea>
pub fn new(source: &str) -> Vec<GTFSStopArea>
Create a new GTFSStopArea
Trait Implementations§
Source§impl Clone for GTFSStopArea
impl Clone for GTFSStopArea
Source§fn clone(&self) -> GTFSStopArea
fn clone(&self) -> GTFSStopArea
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GTFSStopArea
impl Debug for GTFSStopArea
Source§impl Default for GTFSStopArea
impl Default for GTFSStopArea
Source§fn default() -> GTFSStopArea
fn default() -> GTFSStopArea
Source§impl From<&Map<String, ValueType>> for GTFSStopArea
Starting from a ref to an MValue, convert to a struct
impl From<&Map<String, ValueType>> for GTFSStopArea
Starting from a ref to an MValue, convert to a struct
Source§impl From<&ValueType> for GTFSStopArea
If this struct ref is nested into another struct, pull out the MValue and let
From handle
impl From<&ValueType> for GTFSStopArea
If this struct ref is nested into another struct, pull out the MValue and let
From
Source§impl From<GTFSStopArea> for MValue
Starting from a struct, convert to an MValue
impl From<GTFSStopArea> for MValue
Starting from a struct, convert to an MValue
Source§fn from(value: GTFSStopArea) -> MValue
fn from(value: GTFSStopArea) -> MValue
Source§impl From<GTFSStopArea> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
impl From<GTFSStopArea> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
Source§fn from(value: GTFSStopArea) -> ValueType
fn from(value: GTFSStopArea) -> ValueType
Source§impl From<Map<String, ValueType>> for GTFSStopArea
Starting from an MValue, convert to a struct
impl From<Map<String, ValueType>> for GTFSStopArea
Starting from an MValue, convert to a struct
Source§impl From<ValueType> for GTFSStopArea
If this struct is nested into another struct, pull out the MValue and let
From handle
impl From<ValueType> for GTFSStopArea
If this struct is nested into another struct, pull out the MValue and let
From
Source§impl PartialEq for GTFSStopArea
impl PartialEq for GTFSStopArea
impl MValueCompatible for GTFSStopArea
Finally implement the MValueCompatible trait
impl StructuralPartialEq for GTFSStopArea
Auto Trait Implementations§
impl Freeze for GTFSStopArea
impl RefUnwindSafe for GTFSStopArea
impl Send for GTFSStopArea
impl Sync for GTFSStopArea
impl Unpin for GTFSStopArea
impl UnwindSafe for GTFSStopArea
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().