Enum synthpop::TripPurpose
source · pub enum TripPurpose {
Home,
Work,
School,
Escort,
PersonalBusiness,
Shopping,
Meal,
Social,
Recreation,
Medical,
ParkAndRideTransfer,
}
Expand description
Lifted from Seattle’s Soundcast model, but seems general enough to use anyhere.
Variants§
Home
Work
School
Escort
PersonalBusiness
Shopping
Meal
Social
Recreation
Medical
ParkAndRideTransfer
Trait Implementations§
source§impl Clone for TripPurpose
impl Clone for TripPurpose
source§fn clone(&self) -> TripPurpose
fn clone(&self) -> TripPurpose
Returns a copy 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 TripPurpose
impl Debug for TripPurpose
source§impl<'de> Deserialize<'de> for TripPurpose
impl<'de> Deserialize<'de> for TripPurpose
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 Display for TripPurpose
impl Display for TripPurpose
source§impl Serialize for TripPurpose
impl Serialize for TripPurpose
impl Copy for TripPurpose
Auto Trait Implementations§
impl Freeze for TripPurpose
impl RefUnwindSafe for TripPurpose
impl Send for TripPurpose
impl Sync for TripPurpose
impl Unpin for TripPurpose
impl UnwindSafe for TripPurpose
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