pub struct Facility;Expand description
Facility type that implements APIs. Can be either blocking or async
Trait Implementationsยง
Sourceยงimpl FacilityRequests<LTAClient> for Facility
impl FacilityRequests<LTAClient> for Facility
Sourceยงfn get_facilities_maintenance<'life0, 'async_trait>(
client: &'life0 LTAClient,
station_code: StationCode,
) -> Pin<Box<dyn Future<Output = LTAResult<Vec<String>>> + Send + 'async_trait>>where
'life0: 'async_trait,
fn get_facilities_maintenance<'life0, 'async_trait>(
client: &'life0 LTAClient,
station_code: StationCode,
) -> Pin<Box<dyn Future<Output = LTAResult<Vec<String>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Returns pre-signed links to JSON file containing facilities maintenance schedules of the particular station Read more
Sourceยงimpl Ord for Facility
impl Ord for Facility
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 Facility
impl PartialOrd for Facility
impl Copy for Facility
impl Eq for Facility
impl StructuralPartialEq for Facility
Auto Trait Implementationsยง
impl Freeze for Facility
impl RefUnwindSafe for Facility
impl Send for Facility
impl Sync for Facility
impl Unpin for Facility
impl UnwindSafe for Facility
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.