Struct raw_map::RawTransitRoute
source · pub struct RawTransitRoute {
pub long_name: String,
pub short_name: String,
pub gtfs_id: String,
pub shape: PolyLine,
pub stops: Vec<String>,
pub route_type: RawTransitType,
}
Fields§
§long_name: String
§short_name: String
§gtfs_id: String
§shape: PolyLine
This may begin and/or end inside or outside the map boundary.
stops: Vec<String>
Entries into transit_stops
route_type: RawTransitType
Trait Implementations§
source§impl Clone for RawTransitRoute
impl Clone for RawTransitRoute
source§fn clone(&self) -> RawTransitRoute
fn clone(&self) -> RawTransitRoute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RawTransitRoute
impl Debug for RawTransitRoute
source§impl<'de> Deserialize<'de> for RawTransitRoute
impl<'de> Deserialize<'de> for RawTransitRoute
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RawTransitRoute
impl RefUnwindSafe for RawTransitRoute
impl Send for RawTransitRoute
impl Sync for RawTransitRoute
impl Unpin for RawTransitRoute
impl UnwindSafe for RawTransitRoute
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
Mutably borrows from an owned value. Read more