pub struct Api<'a> { /* private fields */ }Expand description
Facility related operations.
Implementations§
Source§impl<'a> Api<'a>
impl<'a> Api<'a>
Sourcepub fn get_facilities_maintenance(
&self,
station_code: StationCode,
) -> GetFacilitiesMaintenanceAction<'a>
pub fn get_facilities_maintenance( &self, station_code: StationCode, ) -> GetFacilitiesMaintenanceAction<'a>
Returns links to facility maintenance data files for a queried MRT/LRT station. Each link points to a JSON file describing the maintenance works currently in progress at that station.
Update freq: Ad-Hoc
§Arguments
station_code: MRT/LRT station code.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Api<'a>
impl<'a> RefUnwindSafe for Api<'a>
impl<'a> Send for Api<'a>
impl<'a> Sync for Api<'a>
impl<'a> Unpin for Api<'a>
impl<'a> UnsafeUnpin for Api<'a>
impl<'a> UnwindSafe for Api<'a>
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