Struct valhalla_client::Summary
source · pub struct Summary {
pub time: f64,
pub length: f64,
pub has_toll: bool,
pub has_highway: bool,
pub has_ferry: bool,
pub min_lat: f64,
pub min_lon: f64,
pub max_lat: f64,
pub max_lon: f64,
}
Fields§
§time: f64
§length: f64
§has_toll: bool
§has_highway: bool
§has_ferry: bool
§min_lat: f64
§min_lon: f64
§max_lat: f64
§max_lon: f64
Trait Implementations§
source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
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 RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnwindSafe for Summary
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