Struct lta_models::bus::bus_arrival::BusArrivalResp
source · pub struct BusArrivalResp {
pub bus_stop_code: u32,
pub services: Vec<ArrivalBusService>,
}
Fields§
§bus_stop_code: u32
§services: Vec<ArrivalBusService>
Trait Implementations§
source§impl Clone for BusArrivalResp
impl Clone for BusArrivalResp
source§fn clone(&self) -> BusArrivalResp
fn clone(&self) -> BusArrivalResp
Returns a copy 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 BusArrivalResp
impl Debug for BusArrivalResp
source§impl<'de> Deserialize<'de> for BusArrivalResp
impl<'de> Deserialize<'de> for BusArrivalResp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BusArrivalRespRaw> for BusArrivalResp
impl From<BusArrivalRespRaw> for BusArrivalResp
source§fn from(data: BusArrivalRespRaw) -> Self
fn from(data: BusArrivalRespRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for BusArrivalResp
impl PartialEq for BusArrivalResp
source§fn eq(&self, other: &BusArrivalResp) -> bool
fn eq(&self, other: &BusArrivalResp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BusArrivalResp
impl Serialize for BusArrivalResp
impl StructuralPartialEq for BusArrivalResp
Auto Trait Implementations§
impl RefUnwindSafe for BusArrivalResp
impl Send for BusArrivalResp
impl Sync for BusArrivalResp
impl Unpin for BusArrivalResp
impl UnwindSafe for BusArrivalResp
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