pub struct ContinuousServicePickUpPlace {
pub id: Option<String>,
pub description: String,
pub name: Option<String>,
pub access_description: Option<String>,
pub geo_position: Box<GeoPosition>,
pub available_vehicles: Vec<ContinuousServiceVehicleAvailability>,
pub pre_allocation_time_limit: Option<String>,
pub process_indication: Option<Vec<String>>,
pub estimated_vehicle_arrival_at_pick_up: Option<String>,
pub estimated_user_arrival_at_pick_up: Option<String>,
}Expand description
ContinuousServicePickUpPlace : Pick-up places for on-demand vehicles like taxis, bicycles or scooters
Fields§
§id: Option<String>id of the pick-up place
description: Stringdescription of the pick-up place
name: Option<String>name of the pick-up place
access_description: Option<String>description on how to access the on-demand vehicle
geo_position: Box<GeoPosition>§available_vehicles: Vec<ContinuousServiceVehicleAvailability>§pre_allocation_time_limit: Option<String>Duration for which the vehicle can be blocked until the usage starts.
process_indication: Option<Vec<String>>Machine readable indications on how the on-demand process should be handled.
estimated_vehicle_arrival_at_pick_up: Option<String>Time until when the vehicle is expected to arrive at the pick-up place (taxi,..)
estimated_user_arrival_at_pick_up: Option<String>Time until when the user of the service is expected to arrive at the pick-up place.
Implementations§
Source§impl ContinuousServicePickUpPlace
impl ContinuousServicePickUpPlace
Sourcepub fn new(
description: String,
geo_position: GeoPosition,
available_vehicles: Vec<ContinuousServiceVehicleAvailability>,
) -> ContinuousServicePickUpPlace
pub fn new( description: String, geo_position: GeoPosition, available_vehicles: Vec<ContinuousServiceVehicleAvailability>, ) -> ContinuousServicePickUpPlace
Pick-up places for on-demand vehicles like taxis, bicycles or scooters
Trait Implementations§
Source§impl Clone for ContinuousServicePickUpPlace
impl Clone for ContinuousServicePickUpPlace
Source§fn clone(&self) -> ContinuousServicePickUpPlace
fn clone(&self) -> ContinuousServicePickUpPlace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContinuousServicePickUpPlace
impl Debug for ContinuousServicePickUpPlace
Source§impl Default for ContinuousServicePickUpPlace
impl Default for ContinuousServicePickUpPlace
Source§fn default() -> ContinuousServicePickUpPlace
fn default() -> ContinuousServicePickUpPlace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContinuousServicePickUpPlace
impl<'de> Deserialize<'de> for ContinuousServicePickUpPlace
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 ContinuousServicePickUpPlace
impl PartialEq for ContinuousServicePickUpPlace
Source§fn eq(&self, other: &ContinuousServicePickUpPlace) -> bool
fn eq(&self, other: &ContinuousServicePickUpPlace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContinuousServicePickUpPlace
Auto Trait Implementations§
impl Freeze for ContinuousServicePickUpPlace
impl RefUnwindSafe for ContinuousServicePickUpPlace
impl Send for ContinuousServicePickUpPlace
impl Sync for ContinuousServicePickUpPlace
impl Unpin for ContinuousServicePickUpPlace
impl UnsafeUnpin for ContinuousServicePickUpPlace
impl UnwindSafe for ContinuousServicePickUpPlace
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