pub struct ExchangeTimeJourney { /* private fields */ }
Implementations§
Source§impl ExchangeTimeJourney
impl ExchangeTimeJourney
pub fn new( id: i32, stop_id: i32, (journey_legacy_id_1, administration_1): (i32, String), (journey_legacy_id_2, administration_2): (i32, String), duration: i16, is_guaranteed: bool, bit_field_id: Option<i32>, ) -> Self
pub fn stop_id(&self) -> i32
pub fn journey_legacy_id_1(&self) -> i32
pub fn administration_1(&self) -> &str
pub fn journey_legacy_id_2(&self) -> i32
pub fn administration_2(&self) -> &str
pub fn duration(&self) -> i16
pub fn bit_field_id(&self) -> Option<i32>
Trait Implementations§
Source§impl Debug for ExchangeTimeJourney
impl Debug for ExchangeTimeJourney
Source§impl<'de> Deserialize<'de> for ExchangeTimeJourney
impl<'de> Deserialize<'de> for ExchangeTimeJourney
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 ExchangeTimeJourney
impl RefUnwindSafe for ExchangeTimeJourney
impl Send for ExchangeTimeJourney
impl Sync for ExchangeTimeJourney
impl Unpin for ExchangeTimeJourney
impl UnwindSafe for ExchangeTimeJourney
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