pub struct Crowd;Expand description
Crowd type that implements APIs. Can be either blocking or async
Trait Implementationsยง
Sourceยงimpl CrowdRequests<LTAClient> for Crowd
impl CrowdRequests<LTAClient> for Crowd
Sourceยงfn get_passenger_vol_by<'life0, 'async_trait, S, D>(
client: &'life0 LTAClient,
vol_type: VolType,
date: D,
skip: S,
) -> Pin<Box<dyn Future<Output = LTAResult<Vec<String>>> + Send + 'async_trait>>
fn get_passenger_vol_by<'life0, 'async_trait, S, D>( client: &'life0 LTAClient, vol_type: VolType, date: D, skip: S, ) -> Pin<Box<dyn Future<Output = LTAResult<Vec<String>>> + Send + 'async_trait>>
Update freq: By 15th of every month, the passenger volume for previous month data
will be generated Read more
Sourceยงfn get_crowd_density_rt<'life0, 'async_trait>(
client: &'life0 LTAClient,
train_line: MrtLine,
) -> Pin<Box<dyn Future<Output = LTAResult<Vec<StationCrowdLevel>>> + Send + 'async_trait>>where
'life0: 'async_trait,
fn get_crowd_density_rt<'life0, 'async_trait>(
client: &'life0 LTAClient,
train_line: MrtLine,
) -> Pin<Box<dyn Future<Output = LTAResult<Vec<StationCrowdLevel>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Returns real-time platform crowdedness level for the MRT/LRT stations of a
particular train network line Read more
Sourceยงfn get_crowd_density_forecast<'life0, 'async_trait>(
client: &'life0 LTAClient,
train_line: MrtLine,
) -> Pin<Box<dyn Future<Output = LTAResult<CrowdDensityForecast>> + Send + 'async_trait>>where
'life0: 'async_trait,
fn get_crowd_density_forecast<'life0, 'async_trait>(
client: &'life0 LTAClient,
train_line: MrtLine,
) -> Pin<Box<dyn Future<Output = LTAResult<CrowdDensityForecast>> + Send + 'async_trait>>where
'life0: 'async_trait,
Returns forecasted platform crowdedness level for the MRT/LRT stations of a
particular train network line at 30 minutes interval Read more
Sourceยงimpl Ord for Crowd
impl Ord for Crowd
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialOrd for Crowd
impl PartialOrd for Crowd
impl Copy for Crowd
impl Eq for Crowd
impl StructuralPartialEq for Crowd
Auto Trait Implementationsยง
impl Freeze for Crowd
impl RefUnwindSafe for Crowd
impl Send for Crowd
impl Sync for Crowd
impl Unpin for Crowd
impl UnwindSafe for Crowd
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.