Struct lta_models::bus::bus_routes::BusRoute
source · pub struct BusRoute {
pub service_no: String,
pub operator: Operator,
pub direction: u8,
pub stop_seq: u8,
pub bus_stop_code: u32,
pub dist: f64,
pub wd_first: Option<Time>,
pub wd_last: Option<Time>,
pub sat_first: Option<Time>,
pub sat_last: Option<Time>,
pub sun_first: Option<Time>,
pub sun_last: Option<Time>,
}
Fields§
§service_no: String
§operator: Operator
§direction: u8
§stop_seq: u8
§bus_stop_code: u32
§dist: f64
§wd_first: Option<Time>
§wd_last: Option<Time>
§sat_first: Option<Time>
§sat_last: Option<Time>
§sun_first: Option<Time>
§sun_last: Option<Time>
Trait Implementations§
source§impl<'de> Deserialize<'de> for BusRoute
impl<'de> Deserialize<'de> for BusRoute
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<BusRouteRaw> for BusRoute
impl From<BusRouteRaw> for BusRoute
source§fn from(r: BusRouteRaw) -> Self
fn from(r: BusRouteRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for BusRoute
impl PartialEq for BusRoute
impl StructuralPartialEq for BusRoute
Auto Trait Implementations§
impl RefUnwindSafe for BusRoute
impl Send for BusRoute
impl Sync for BusRoute
impl Unpin for BusRoute
impl UnwindSafe for BusRoute
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