pub struct ArrivalPredictionsByLinesStopPointID<'a> { /* private fields */ }
Implementations§
Source§impl ArrivalPredictionsByLinesStopPointID<'_>
impl ArrivalPredictionsByLinesStopPointID<'_>
pub fn line(self, line: Vec<LineID>) -> Self
pub fn stop_point(self, stop_point_id: &str) -> Self
pub fn direction(self, direction: Directions) -> Self
pub fn destination_station_id(self, destination_station_id: &str) -> Self
Trait Implementations§
Source§impl RequestBuilder for ArrivalPredictionsByLinesStopPointID<'_>
impl RequestBuilder for ArrivalPredictionsByLinesStopPointID<'_>
type Response = Vec<Arrivals>
fn get_client(&self) -> &Client
fn get_parameters(&self) -> &Parameters
fn get_request_url(&self) -> String
fn fetch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Response, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<'a> Freeze for ArrivalPredictionsByLinesStopPointID<'a>
impl<'a> !RefUnwindSafe for ArrivalPredictionsByLinesStopPointID<'a>
impl<'a> Send for ArrivalPredictionsByLinesStopPointID<'a>
impl<'a> Sync for ArrivalPredictionsByLinesStopPointID<'a>
impl<'a> Unpin for ArrivalPredictionsByLinesStopPointID<'a>
impl<'a> !UnwindSafe for ArrivalPredictionsByLinesStopPointID<'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