pub enum Speed {
SpeedUnspecified,
Normal,
Slow,
TrafficJam,
}Expand description
The classification of polyline speed based on traffic data. See https://developers.google.com/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Speed
impl<'de> Deserialize<'de> for Speed
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
Auto Trait Implementations§
impl Freeze for Speed
impl RefUnwindSafe for Speed
impl Send for Speed
impl Sync for Speed
impl Unpin for Speed
impl UnwindSafe for Speed
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