pub struct Train;Expand description
Train type that implements APIs. Can be either blocking or async
Trait Implementationsยง
Sourceยงimpl Ord for Train
impl Ord for Train
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 Train
impl PartialOrd for Train
Sourceยงimpl TrainRequests<LTAClient> for Train
impl TrainRequests<LTAClient> for Train
Sourceยงfn get_train_service_alert<'life0, 'async_trait, S>(
client: &'life0 LTAClient,
skip: S,
) -> Pin<Box<dyn Future<Output = LTAResult<TrainServiceAlert>> + Send + 'async_trait>>
fn get_train_service_alert<'life0, 'async_trait, S>( client: &'life0 LTAClient, skip: S, ) -> Pin<Box<dyn Future<Output = LTAResult<TrainServiceAlert>> + Send + 'async_trait>>
Returns detailed information on train service unavailability during scheduled
operating hours, such as affected line and stations etc. Read more
impl Copy for Train
impl Eq for Train
impl StructuralPartialEq for Train
Auto Trait Implementationsยง
impl Freeze for Train
impl RefUnwindSafe for Train
impl Send for Train
impl Sync for Train
impl Unpin for Train
impl UnwindSafe for Train
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.