Struct lta_models::bus::bus_arrival::ArrivalBusService
source · pub struct ArrivalBusService {
pub service_no: String,
pub operator: Operator,
pub next_bus: [Option<NextBus>; 3],
}
Fields§
§service_no: String
§operator: Operator
§next_bus: [Option<NextBus>; 3]
Trait Implementations§
source§impl Clone for ArrivalBusService
impl Clone for ArrivalBusService
source§fn clone(&self) -> ArrivalBusService
fn clone(&self) -> ArrivalBusService
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 ArrivalBusService
impl Debug for ArrivalBusService
source§impl<'de> Deserialize<'de> for ArrivalBusService
impl<'de> Deserialize<'de> for ArrivalBusService
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 ArrivalBusService
impl PartialEq for ArrivalBusService
source§fn eq(&self, other: &ArrivalBusService) -> bool
fn eq(&self, other: &ArrivalBusService) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrivalBusService
impl Serialize for ArrivalBusService
impl StructuralPartialEq for ArrivalBusService
Auto Trait Implementations§
impl RefUnwindSafe for ArrivalBusService
impl Send for ArrivalBusService
impl Sync for ArrivalBusService
impl Unpin for ArrivalBusService
impl UnwindSafe for ArrivalBusService
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