Struct lta_models::bus::bus_arrival::RawArrivalBusService
source · pub struct RawArrivalBusService {
pub service_no: String,
pub operator: Operator,
pub next_bus: Option<NextBusRaw>,
pub next_bus_2: Option<NextBusRaw>,
pub next_bus_3: Option<NextBusRaw>,
}
Fields§
§service_no: String
§operator: Operator
§next_bus: Option<NextBusRaw>
§next_bus_2: Option<NextBusRaw>
§next_bus_3: Option<NextBusRaw>
Trait Implementations§
source§impl Clone for RawArrivalBusService
impl Clone for RawArrivalBusService
source§fn clone(&self) -> RawArrivalBusService
fn clone(&self) -> RawArrivalBusService
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 RawArrivalBusService
impl Debug for RawArrivalBusService
source§impl<'de> Deserialize<'de> for RawArrivalBusService
impl<'de> Deserialize<'de> for RawArrivalBusService
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<RawArrivalBusService> for ArrivalBusService
impl From<RawArrivalBusService> for ArrivalBusService
source§fn from(data: RawArrivalBusService) -> Self
fn from(data: RawArrivalBusService) -> Self
Converts to this type from the input type.
source§impl PartialEq for RawArrivalBusService
impl PartialEq for RawArrivalBusService
source§fn eq(&self, other: &RawArrivalBusService) -> bool
fn eq(&self, other: &RawArrivalBusService) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RawArrivalBusService
impl Serialize for RawArrivalBusService
impl StructuralPartialEq for RawArrivalBusService
Auto Trait Implementations§
impl RefUnwindSafe for RawArrivalBusService
impl Send for RawArrivalBusService
impl Sync for RawArrivalBusService
impl Unpin for RawArrivalBusService
impl UnwindSafe for RawArrivalBusService
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