pub struct Departure {Show 20 fields
pub stop_id: StationId,
pub x: f32,
pub y: f32,
pub map_name: String,
pub area: String,
pub platform: String,
pub platform_name: String,
pub stop_name: String,
pub name_wo: String,
pub point_type: Option<String>,
pub countdown: String,
pub realtime_status: Option<String>,
pub realtime_trip_status: Option<String>,
pub date_time: DateTime,
pub real_date_time: Option<DateTime>,
pub serving_line: ServingLine,
pub operator: Option<Operator>,
pub stop_infos: Option<ApiVec<Info>>,
pub line_infos: Option<ApiVec<Info>>,
pub attrs: Vec<Parameter>,
}Fields§
§stop_id: StationId§x: f32§y: f32§map_name: String§area: String§platform: String§platform_name: String§stop_name: String§name_wo: String§point_type: Option<String>§countdown: String§realtime_status: Option<String>§realtime_trip_status: Option<String>§date_time: DateTime§real_date_time: Option<DateTime>§serving_line: ServingLine§operator: Option<Operator>§stop_infos: Option<ApiVec<Info>>§line_infos: Option<ApiVec<Info>>§attrs: Vec<Parameter>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Departure
impl<'de> Deserialize<'de> for Departure
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
Auto Trait Implementations§
impl Freeze for Departure
impl RefUnwindSafe for Departure
impl Send for Departure
impl Sync for Departure
impl Unpin for Departure
impl UnwindSafe for Departure
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