pub enum GetBusArrivalResponse {
Ok(BusArrivalResponse),
UnexpectedStatus(StatusCode, Vec<u8>),
}Expand description
Returns real-time Bus Arrival information of Bus Services at a queried Bus Stop, including
- Estimated Arrival Time
- Estimated Current Location
- Estimated Current Load.
Update freq: 20s
Variants§
Trait Implementations§
Source§impl Clone for GetBusArrivalResponse
impl Clone for GetBusArrivalResponse
Source§fn clone(&self) -> GetBusArrivalResponse
fn clone(&self) -> GetBusArrivalResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetBusArrivalResponse
impl Debug for GetBusArrivalResponse
Source§impl PartialEq for GetBusArrivalResponse
impl PartialEq for GetBusArrivalResponse
impl StructuralPartialEq for GetBusArrivalResponse
Auto Trait Implementations§
impl Freeze for GetBusArrivalResponse
impl RefUnwindSafe for GetBusArrivalResponse
impl Send for GetBusArrivalResponse
impl Sync for GetBusArrivalResponse
impl Unpin for GetBusArrivalResponse
impl UnsafeUnpin for GetBusArrivalResponse
impl UnwindSafe for GetBusArrivalResponse
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