use crate::error::Error as GoogleMapsError;
use crate::roads::nearest_roads::{
request::Request as NearestRoadsRequest, response::Response as NearestRoadsResponse,
};
impl<'a> NearestRoadsRequest<'a> {
pub async fn execute(&'a mut self) -> Result<NearestRoadsResponse, GoogleMapsError> {
self.build().get().await
} }