pub trait RentalCarReservationTrait {
// Required methods
fn get_dropoff_location(&self) -> &[DropoffLocationProperty];
fn take_dropoff_location(&mut self) -> Vec<DropoffLocationProperty>;
fn get_dropoff_time(&self) -> &[DropoffTimeProperty];
fn take_dropoff_time(&mut self) -> Vec<DropoffTimeProperty>;
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/RentalCarReservation.
Required Methods§
sourcefn get_dropoff_location(&self) -> &[DropoffLocationProperty]
fn get_dropoff_location(&self) -> &[DropoffLocationProperty]
Get https://schema.org/dropoffLocation from Self
as borrowed slice.
sourcefn take_dropoff_location(&mut self) -> Vec<DropoffLocationProperty>
fn take_dropoff_location(&mut self) -> Vec<DropoffLocationProperty>
Take https://schema.org/dropoffLocation from Self
as owned vector.
sourcefn get_dropoff_time(&self) -> &[DropoffTimeProperty]
fn get_dropoff_time(&self) -> &[DropoffTimeProperty]
Get https://schema.org/dropoffTime from Self
as borrowed slice.
sourcefn take_dropoff_time(&mut self) -> Vec<DropoffTimeProperty>
fn take_dropoff_time(&mut self) -> Vec<DropoffTimeProperty>
Take https://schema.org/dropoffTime 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.