leontoeides / google_maps

An unofficial Google Maps Platform client library for the Rust programming language.
https://crates.io/crates/google_maps
Apache License 2.0
58 stars 24 forks source link

add serialization to direction response #2

Closed qrayven closed 4 years ago

qrayven commented 4 years ago

add possibility to serialize the Response from Direction API.
Sometimes there is a need to cache such a responses in order to reuse instead making direct request to google api.