pub struct PlacePreSelection {
pub reservation_id: Option<String>,
pub coach: String,
pub place: String,
}Expand description
PlacePreSelection : A preselected place
Fields§
§reservation_id: Option<String>id of the reservation in case the places have already been selected and the customer now wants to change the selection.
Deprecated: Substituted by SpecificPlaceAvailability.reservationRefs (since: 3.5.0, removed with: 4.0.0)
coach: StringCoach number
place: StringPlace number as indicated at the place in the coach
Implementations§
Source§impl PlacePreSelection
impl PlacePreSelection
Sourcepub fn new(coach: String, place: String) -> PlacePreSelection
pub fn new(coach: String, place: String) -> PlacePreSelection
A preselected place
Trait Implementations§
Source§impl Clone for PlacePreSelection
impl Clone for PlacePreSelection
Source§fn clone(&self) -> PlacePreSelection
fn clone(&self) -> PlacePreSelection
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 Debug for PlacePreSelection
impl Debug for PlacePreSelection
Source§impl Default for PlacePreSelection
impl Default for PlacePreSelection
Source§fn default() -> PlacePreSelection
fn default() -> PlacePreSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlacePreSelection
impl<'de> Deserialize<'de> for PlacePreSelection
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 PlacePreSelection
impl PartialEq for PlacePreSelection
Source§impl Serialize for PlacePreSelection
impl Serialize for PlacePreSelection
impl StructuralPartialEq for PlacePreSelection
Auto Trait Implementations§
impl Freeze for PlacePreSelection
impl RefUnwindSafe for PlacePreSelection
impl Send for PlacePreSelection
impl Sync for PlacePreSelection
impl Unpin for PlacePreSelection
impl UnwindSafe for PlacePreSelection
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