Struct lta_models::bus::bus_routes::BusRouteRaw
source · pub struct BusRouteRaw {
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 Clone for BusRouteRaw
impl Clone for BusRouteRaw
source§fn clone(&self) -> BusRouteRaw
fn clone(&self) -> BusRouteRaw
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 BusRouteRaw
impl Debug for BusRouteRaw
source§impl<'de> Deserialize<'de> for BusRouteRaw
impl<'de> Deserialize<'de> for BusRouteRaw
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 BusRouteRaw
impl PartialEq for BusRouteRaw
source§fn eq(&self, other: &BusRouteRaw) -> bool
fn eq(&self, other: &BusRouteRaw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BusRouteRaw
impl Serialize for BusRouteRaw
impl StructuralPartialEq for BusRouteRaw
Auto Trait Implementations§
impl RefUnwindSafe for BusRouteRaw
impl Send for BusRouteRaw
impl Sync for BusRouteRaw
impl Unpin for BusRouteRaw
impl UnwindSafe for BusRouteRaw
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