Struct citymapper::TimeConstraint [] [src]

pub struct TimeConstraint { /* fields omitted */ }

The citymapper travel time API accepts an optional time argument which specifies when you want the travel time to be calculated for. This struct represents that argument.

Methods

impl TimeConstraint
[src]

Returns a new TimeConstraint

Arguments

  • time - The time to calculate the travel time with respect to