pub struct TimetableForStationWithDestinationByLineID {
pub type_field: String,
pub line_id: String,
pub line_name: String,
pub direction: String,
pub stations: Vec<Station>,
pub stops: Vec<Stop>,
pub timetable: Timetable,
}
Fields§
§type_field: String
§line_id: String
§line_name: String
§direction: String
§stations: Vec<Station>
§stops: Vec<Stop>
§timetable: Timetable
Trait Implementations§
Source§impl Clone for TimetableForStationWithDestinationByLineID
impl Clone for TimetableForStationWithDestinationByLineID
Source§fn clone(&self) -> TimetableForStationWithDestinationByLineID
fn clone(&self) -> TimetableForStationWithDestinationByLineID
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 Default for TimetableForStationWithDestinationByLineID
impl Default for TimetableForStationWithDestinationByLineID
Source§fn default() -> TimetableForStationWithDestinationByLineID
fn default() -> TimetableForStationWithDestinationByLineID
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimetableForStationWithDestinationByLineID
impl<'de> Deserialize<'de> for TimetableForStationWithDestinationByLineID
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 TimetableForStationWithDestinationByLineID
impl PartialEq for TimetableForStationWithDestinationByLineID
Source§fn eq(&self, other: &TimetableForStationWithDestinationByLineID) -> bool
fn eq(&self, other: &TimetableForStationWithDestinationByLineID) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TimetableForStationWithDestinationByLineID
Auto Trait Implementations§
impl Freeze for TimetableForStationWithDestinationByLineID
impl RefUnwindSafe for TimetableForStationWithDestinationByLineID
impl Send for TimetableForStationWithDestinationByLineID
impl Sync for TimetableForStationWithDestinationByLineID
impl Unpin for TimetableForStationWithDestinationByLineID
impl UnwindSafe for TimetableForStationWithDestinationByLineID
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