pub struct JourneysSolution { /* private fields */ }Expand description
Array of journeys for the date specified by JourneysSolution::departure_date
Implementations§
Source§impl JourneysSolution
impl JourneysSolution
Sourcepub fn departure_date(&self) -> Result<NaiveDate>
pub fn departure_date(&self) -> Result<NaiveDate>
Date on which the journeys are valid
Trait Implementations§
Source§impl Debug for JourneysSolution
impl Debug for JourneysSolution
Source§impl<'de> Deserialize<'de> for JourneysSolution
impl<'de> Deserialize<'de> for JourneysSolution
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 JourneysSolution
impl RefUnwindSafe for JourneysSolution
impl Send for JourneysSolution
impl Sync for JourneysSolution
impl Unpin for JourneysSolution
impl UnwindSafe for JourneysSolution
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