pub struct Footpath {
pub to: Box<Place>,
pub default: Option<f64>,
pub foot: Option<f64>,
pub foot_routed: Option<f64>,
pub wheelchair: Option<f64>,
pub wheelchair_uses_elevator: Option<bool>,
}
Expand description
Footpath : footpath from one location to another
Fields§
§to: Box<Place>
§default: Option<f64>
optional; missing if the GTFS did not contain a footpath footpath duration in minutes according to GTFS (+heuristics)
foot: Option<f64>
optional; missing if no path was found (timetable / osr) footpath duration in minutes for the foot profile
foot_routed: Option<f64>
optional; missing if no path was found with foot routing footpath duration in minutes for the foot profile
wheelchair: Option<f64>
optional; missing if no path was found with the wheelchair profile footpath duration in minutes for the wheelchair profile
wheelchair_uses_elevator: Option<bool>
optional; missing if no path was found with the wheelchair profile true if the wheelchair path uses an elevator
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Footpath
impl<'de> Deserialize<'de> for Footpath
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
impl StructuralPartialEq for Footpath
Auto Trait Implementations§
impl Freeze for Footpath
impl RefUnwindSafe for Footpath
impl Send for Footpath
impl Sync for Footpath
impl Unpin for Footpath
impl UnwindSafe for Footpath
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