Struct gtfs_server::models::stop::Stop [−][src]
pub struct Stop {
pub uid: String,
pub name: String,
pub lat: f64,
pub lng: f64,
pub location_type: i32,
pub parent_station: Option<String>,
// some fields omitted
}Fields
uid: String
name: String
lat: f64
lng: f64
location_type: i32
parent_station: Option<String>
Methods
impl Stop[src]
impl Stoppub fn new(
uid: String,
name: String,
lat: f64,
lng: f64,
location_type: Option<i32>,
parent_station: Option<String>
) -> Stop[src]
pub fn new(
uid: String,
name: String,
lat: f64,
lng: f64,
location_type: Option<i32>,
parent_station: Option<String>
) -> Stoppub fn set_id(&mut self, id: String)[src]
pub fn set_id(&mut self, id: String)pub fn set_feed_id(&mut self, feed_id: String)[src]
pub fn set_feed_id(&mut self, feed_id: String)Trait Implementations
impl Debug for Stop[src]
impl Debug for Stopfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Stop[src]
impl Clone for Stop