Trait lta::async::taxi::TaxiRequests
source · pub trait TaxiRequests<C: Client + ClientExt> {
// Provided methods
async fn get_taxi_avail<S>(
client: &C,
skip: S
) -> LTAResult<Vec<Coordinates>>
where S: Into<Option<u32>> { ... }
async fn get_taxi_stands<S>(
client: &C,
skip: S
) -> LTAResult<Vec<TaxiStand>>
where S: Into<Option<u32>> { ... }
}
Expand description
All APIs pertaining to taxis
Provided Methods§
sourceasync fn get_taxi_avail<S>(client: &C, skip: S) -> LTAResult<Vec<Coordinates>>
async fn get_taxi_avail<S>(client: &C, skip: S) -> LTAResult<Vec<Coordinates>>
Returns location coordinates of all Taxis that are currently available for hire. Does not include “Hired” or “Busy” Taxis.
Update freq: 1min
Object Safety§
This trait is not object safe.