use crate::error::Error as GoogleMapsError;
use crate::places::place_search::nearby_search::{
request::Request as TextSearchRequest, response::Response as TextSearchResponse,
};
impl<'a> TextSearchRequest<'a> {
pub async fn execute(&'a mut self) -> Result<TextSearchResponse, GoogleMapsError> {
self.build().get().await
} }