pub struct RouteLocalizedValues {
pub distance: Option<LocalizedText>,
pub duration: Option<LocalizedText>,
pub static_duration: Option<LocalizedText>,
pub transit_fare: Option<LocalizedText>,
}Expand description
Text representations of certain properties. See https://developers.google.com/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes
Fields§
§distance: Option<LocalizedText>§duration: Option<LocalizedText>§static_duration: Option<LocalizedText>§transit_fare: Option<LocalizedText>Trait Implementations§
Source§impl Clone for RouteLocalizedValues
impl Clone for RouteLocalizedValues
Source§fn clone(&self) -> RouteLocalizedValues
fn clone(&self) -> RouteLocalizedValues
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 RouteLocalizedValues
impl Debug for RouteLocalizedValues
Source§impl<'de> Deserialize<'de> for RouteLocalizedValues
impl<'de> Deserialize<'de> for RouteLocalizedValues
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 RouteLocalizedValues
impl RefUnwindSafe for RouteLocalizedValues
impl Send for RouteLocalizedValues
impl Sync for RouteLocalizedValues
impl Unpin for RouteLocalizedValues
impl UnwindSafe for RouteLocalizedValues
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