pub struct Facility;
Expand description
Facility type that implements APIs. Can be either blocking or async
Trait Implementations§
source§impl FacilityRequests<LTAClient<Client>> for Facility
impl FacilityRequests<LTAClient<Client>> for Facility
source§fn get_facilities_maintenance(
client: <AClient<ReqwestBlocking>,
station_code: StationCode
) -> LTAResult<Vec<String>>
fn get_facilities_maintenance( client: <AClient<ReqwestBlocking>, station_code: StationCode ) -> LTAResult<Vec<String>>
Returns pre-signed links to JSON file containing facilities maintenance schedules of the particular station Read more
source§impl FacilityRequests<LTAClient<Client>> for Facility
impl FacilityRequests<LTAClient<Client>> for Facility
source§async fn get_facilities_maintenance(
client: <AClient<ReqwestAsync>,
station_code: StationCode
) -> LTAResult<Vec<String>>
async fn get_facilities_maintenance( client: <AClient<ReqwestAsync>, station_code: StationCode ) -> LTAResult<Vec<String>>
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
source§impl PartialEq for Facility
impl PartialEq for Facility
source§impl PartialOrd for Facility
impl PartialOrd for Facility
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Facility
impl Eq for Facility
impl StructuralEq for Facility
impl StructuralPartialEq for Facility
Auto Trait Implementations§
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.