pub trait TaxiReservationTrait {
// Required methods
fn get_party_size(&self) -> &[PartySizeProperty];
fn take_party_size(&mut self) -> Vec<PartySizeProperty>;
fn get_pickup_location(&self) -> &[PickupLocationProperty];
fn take_pickup_location(&mut self) -> Vec<PickupLocationProperty>;
fn get_pickup_time(&self) -> &[PickupTimeProperty];
fn take_pickup_time(&mut self) -> Vec<PickupTimeProperty>;
}
Expand description
This trait is for properties from https://schema.org/TaxiReservation.
Required Methods§
sourcefn get_party_size(&self) -> &[PartySizeProperty]
fn get_party_size(&self) -> &[PartySizeProperty]
Get https://schema.org/partySize from Self
as borrowed slice.
sourcefn take_party_size(&mut self) -> Vec<PartySizeProperty>
fn take_party_size(&mut self) -> Vec<PartySizeProperty>
Take https://schema.org/partySize from Self
as owned vector.
sourcefn get_pickup_location(&self) -> &[PickupLocationProperty]
fn get_pickup_location(&self) -> &[PickupLocationProperty]
Get https://schema.org/pickupLocation from Self
as borrowed slice.
sourcefn take_pickup_location(&mut self) -> Vec<PickupLocationProperty>
fn take_pickup_location(&mut self) -> Vec<PickupLocationProperty>
Take https://schema.org/pickupLocation from Self
as owned vector.
sourcefn get_pickup_time(&self) -> &[PickupTimeProperty]
fn get_pickup_time(&self) -> &[PickupTimeProperty]
Get https://schema.org/pickupTime from Self
as borrowed slice.
sourcefn take_pickup_time(&mut self) -> Vec<PickupTimeProperty>
fn take_pickup_time(&mut self) -> Vec<PickupTimeProperty>
Take https://schema.org/pickupTime from Self
as owned vector.