pub struct RouteItem {
pub alternative_route_item_indices: Option<Option<Vec<i32>>>,
pub carrier_constraint: Option<Box<CarrierConstraint>>,
pub route_item_indices: Option<Option<Vec<i32>>>,
pub service_constraint: Option<Box<ServiceConstraint>>,
pub station: Option<Box<StopPlace>>,
pub fare_reference_station: Option<Box<FareReferenceStation>>,
}Expand description
RouteItem : Items to compose routes (Note - replaced viaStation, content compliant with viaStation in IRS 90918-4 and 90918-9)
Fields§
§alternative_route_item_indices: Option<Option<Vec<i32>>>list of alternative route parts to be used on this travel path referenced by the index in the provided list of route items
carrier_constraint: Option<Box<CarrierConstraint>>§route_item_indices: Option<Option<Vec<i32>>>sequence of route items along the travel path referenced by the index in the provided list of route items
service_constraint: Option<Box<ServiceConstraint>>§station: Option<Box<StopPlace>>§fare_reference_station: Option<Box<FareReferenceStation>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteItem
impl<'de> Deserialize<'de> for RouteItem
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
impl StructuralPartialEq for RouteItem
Auto Trait Implementations§
impl Freeze for RouteItem
impl RefUnwindSafe for RouteItem
impl Send for RouteItem
impl Sync for RouteItem
impl Unpin for RouteItem
impl UnwindSafe for RouteItem
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