pub trait TripTrait {
Show 16 methods // Required methods fn get_arrival_time(&self) -> &[ArrivalTimeProperty]; fn take_arrival_time(&mut self) -> Vec<ArrivalTimeProperty>; fn get_departure_time(&self) -> &[DepartureTimeProperty]; fn take_departure_time(&mut self) -> Vec<DepartureTimeProperty>; fn get_itinerary(&self) -> &[ItineraryProperty]; fn take_itinerary(&mut self) -> Vec<ItineraryProperty>; fn get_offers(&self) -> &[OffersProperty]; fn take_offers(&mut self) -> Vec<OffersProperty>; fn get_part_of_trip(&self) -> &[PartOfTripProperty]; fn take_part_of_trip(&mut self) -> Vec<PartOfTripProperty>; fn get_provider(&self) -> &[ProviderProperty]; fn take_provider(&mut self) -> Vec<ProviderProperty>; fn get_sub_trip(&self) -> &[SubTripProperty]; fn take_sub_trip(&mut self) -> Vec<SubTripProperty>; fn get_trip_origin(&self) -> &[TripOriginProperty]; fn take_trip_origin(&mut self) -> Vec<TripOriginProperty>;
}
Expand description

This trait is for properties from https://schema.org/Trip.

Required Methods§

source

fn get_arrival_time(&self) -> &[ArrivalTimeProperty]

Get https://schema.org/arrivalTime from Self as borrowed slice.

source

fn take_arrival_time(&mut self) -> Vec<ArrivalTimeProperty>

Take https://schema.org/arrivalTime from Self as owned vector.

source

fn get_departure_time(&self) -> &[DepartureTimeProperty]

Get https://schema.org/departureTime from Self as borrowed slice.

source

fn take_departure_time(&mut self) -> Vec<DepartureTimeProperty>

Take https://schema.org/departureTime from Self as owned vector.

source

fn get_itinerary(&self) -> &[ItineraryProperty]

Get https://schema.org/itinerary from Self as borrowed slice.

source

fn take_itinerary(&mut self) -> Vec<ItineraryProperty>

Take https://schema.org/itinerary from Self as owned vector.

source

fn get_offers(&self) -> &[OffersProperty]

Get https://schema.org/offers from Self as borrowed slice.

source

fn take_offers(&mut self) -> Vec<OffersProperty>

Take https://schema.org/offers from Self as owned vector.

source

fn get_part_of_trip(&self) -> &[PartOfTripProperty]

Get https://schema.org/partOfTrip from Self as borrowed slice.

source

fn take_part_of_trip(&mut self) -> Vec<PartOfTripProperty>

Take https://schema.org/partOfTrip from Self as owned vector.

source

fn get_provider(&self) -> &[ProviderProperty]

Get https://schema.org/provider from Self as borrowed slice.

source

fn take_provider(&mut self) -> Vec<ProviderProperty>

Take https://schema.org/provider from Self as owned vector.

source

fn get_sub_trip(&self) -> &[SubTripProperty]

Get https://schema.org/subTrip from Self as borrowed slice.

source

fn take_sub_trip(&mut self) -> Vec<SubTripProperty>

Take https://schema.org/subTrip from Self as owned vector.

source

fn get_trip_origin(&self) -> &[TripOriginProperty]

Get https://schema.org/tripOrigin from Self as borrowed slice.

source

fn take_trip_origin(&mut self) -> Vec<TripOriginProperty>

Take https://schema.org/tripOrigin from Self as owned vector.

Implementors§