pub struct Intermediate {
pub stop_place_ref: Box<StopPlaceRef>,
pub stop_place_name: String,
pub planned_stop_point_name: Option<Option<String>>,
pub estimated_stop_point_name: Option<Option<String>>,
pub service_arrival: Box<ServiceTime>,
pub service_departure: Box<ServiceTime>,
pub status: Option<Box<StopCallStatus>>,
}Expand description
Intermediate : Describes the situation at a stop or station that lies between the Board and Alight stop or station including time-related information. Provided by OJP.
Fields§
§stop_place_ref: Box<StopPlaceRef>§stop_place_name: String§planned_stop_point_name: Option<Option<String>>Name of the bay/quay/terminal where to board/alight from the vehicle. According to planned timetable.
estimated_stop_point_name: Option<Option<String>>Name of the bay/quay/terminal where to board the vehicle. As to the latest realtime status.
service_arrival: Box<ServiceTime>§service_departure: Box<ServiceTime>§status: Option<Box<StopCallStatus>>Implementations§
Source§impl Intermediate
impl Intermediate
Sourcepub fn new(
stop_place_ref: StopPlaceRef,
stop_place_name: String,
service_arrival: ServiceTime,
service_departure: ServiceTime,
) -> Intermediate
pub fn new( stop_place_ref: StopPlaceRef, stop_place_name: String, service_arrival: ServiceTime, service_departure: ServiceTime, ) -> Intermediate
Describes the situation at a stop or station that lies between the Board and Alight stop or station including time-related information. Provided by OJP.
Trait Implementations§
Source§impl Clone for Intermediate
impl Clone for Intermediate
Source§fn clone(&self) -> Intermediate
fn clone(&self) -> Intermediate
Returns a duplicate 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 Intermediate
impl Debug for Intermediate
Source§impl Default for Intermediate
impl Default for Intermediate
Source§fn default() -> Intermediate
fn default() -> Intermediate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Intermediate
impl<'de> Deserialize<'de> for Intermediate
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 PartialEq for Intermediate
impl PartialEq for Intermediate
Source§impl Serialize for Intermediate
impl Serialize for Intermediate
impl StructuralPartialEq for Intermediate
Auto Trait Implementations§
impl Freeze for Intermediate
impl RefUnwindSafe for Intermediate
impl Send for Intermediate
impl Sync for Intermediate
impl Unpin for Intermediate
impl UnwindSafe for Intermediate
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