pub struct Verbindung {Show 32 fields
pub abfahrt: String,
pub abfahrt_date: String,
pub abfahrt_gleis: Option<String>,
pub abfahrt_time: String,
pub angebote_url: String,
pub ankunft: String,
pub ankunft_date: String,
pub ankunft_time: String,
pub belegung_erste: String,
pub belegung_zweite: String,
pub day_difference: String,
pub day_difference_accessibility: String,
pub departure_track_label: String,
pub departure_track_label_accessibility: String,
pub duration: String,
pub duration_accessibility: String,
pub is_international_verbindung: Option<bool>,
pub legend_bfr_items: Vec<String>,
pub legend_items: Vec<LegendItem>,
pub legend_occupancy_items: Vec<LegendOccupancy>,
pub realtime_info: RealtimeInfo,
pub reconstruction_context: String,
pub service_attributes: Vec<String>,
pub ticketing_info: TicketingInfo,
pub transfers: i32,
pub transport_bezeichnung: TransportBezeichnung,
pub verbindung_abpreis_context: String,
pub verbindung_id: String,
pub verbindung_sections: Vec<VerbindungSection>,
pub verkehrstage: Vec<String>,
pub vias: Option<Vec<String>>,
pub zuschlagspflicht: bool,
}Fields§
§abfahrt: String§abfahrt_date: String§abfahrt_gleis: Option<String>§abfahrt_time: String§angebote_url: String§ankunft: String§ankunft_date: String§ankunft_time: String§belegung_erste: String§belegung_zweite: String§day_difference: String§day_difference_accessibility: String§departure_track_label: String§departure_track_label_accessibility: String§duration: String§duration_accessibility: String§is_international_verbindung: Option<bool>§legend_bfr_items: Vec<String>§legend_items: Vec<LegendItem>§legend_occupancy_items: Vec<LegendOccupancy>§realtime_info: RealtimeInfo§reconstruction_context: String§service_attributes: Vec<String>§ticketing_info: TicketingInfo§transfers: i32§transport_bezeichnung: TransportBezeichnung§verbindung_abpreis_context: String§verbindung_id: String§verbindung_sections: Vec<VerbindungSection>§verkehrstage: Vec<String>§vias: Option<Vec<String>>§zuschlagspflicht: boolImplementations§
Trait Implementations§
Source§impl AsRef<Verbindung> for Verbindung
impl AsRef<Verbindung> for Verbindung
Source§fn as_ref(&self) -> &Verbindung
fn as_ref(&self) -> &Verbindung
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Debug for Verbindung
impl Debug for Verbindung
Source§impl<'de> Deserialize<'de> for Verbindung
impl<'de> Deserialize<'de> for Verbindung
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 Display for Verbindung
impl Display for Verbindung
Auto Trait Implementations§
impl Freeze for Verbindung
impl RefUnwindSafe for Verbindung
impl Send for Verbindung
impl Sync for Verbindung
impl Unpin for Verbindung
impl UnsafeUnpin for Verbindung
impl UnwindSafe for Verbindung
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more