pub struct ContinuousServiceVehicleSelection {
pub pick_up_place_ref: String,
pub vehicle_type: String,
}Fields§
§pick_up_place_ref: Stringid of the selected pick-up place
vehicle_type: StringImplementations§
Source§impl ContinuousServiceVehicleSelection
impl ContinuousServiceVehicleSelection
pub fn new( pick_up_place_ref: String, vehicle_type: String, ) -> ContinuousServiceVehicleSelection
Trait Implementations§
Source§impl Clone for ContinuousServiceVehicleSelection
impl Clone for ContinuousServiceVehicleSelection
Source§fn clone(&self) -> ContinuousServiceVehicleSelection
fn clone(&self) -> ContinuousServiceVehicleSelection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ContinuousServiceVehicleSelection
impl Default for ContinuousServiceVehicleSelection
Source§fn default() -> ContinuousServiceVehicleSelection
fn default() -> ContinuousServiceVehicleSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContinuousServiceVehicleSelection
impl<'de> Deserialize<'de> for ContinuousServiceVehicleSelection
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 ContinuousServiceVehicleSelection
impl PartialEq for ContinuousServiceVehicleSelection
Source§fn eq(&self, other: &ContinuousServiceVehicleSelection) -> bool
fn eq(&self, other: &ContinuousServiceVehicleSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContinuousServiceVehicleSelection
Auto Trait Implementations§
impl Freeze for ContinuousServiceVehicleSelection
impl RefUnwindSafe for ContinuousServiceVehicleSelection
impl Send for ContinuousServiceVehicleSelection
impl Sync for ContinuousServiceVehicleSelection
impl Unpin for ContinuousServiceVehicleSelection
impl UnwindSafe for ContinuousServiceVehicleSelection
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