Skip to main content

Verbindung

Struct Verbindung 

Source
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: bool

Implementations§

Trait Implementations§

Source§

impl AsRef<Verbindung> for Verbindung

Source§

fn as_ref(&self) -> &Verbindung

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Debug for Verbindung

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Verbindung

Source§

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

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for Verbindung

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Any for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Source§

fn type_name(&self) -> &'static str

Source§

impl<T> AnySync for T
where T: Any + Send + Sync,

Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more