Struct google_places_api::models::place_search::TextSearchResult
source · pub struct TextSearchResult {
pub html_attributions: Vec<String>,
pub places: Vec<Place>,
pub status: PlaceSearchStatus,
pub error_message: Option<String>,
pub info_messages: Option<Vec<String>>,
pub next_page_token: Option<String>,
pub total_results: u32,
}Fields§
§html_attributions: Vec<String>§places: Vec<Place>§status: PlaceSearchStatus§error_message: Option<String>§info_messages: Option<Vec<String>>§next_page_token: Option<String>§total_results: u32Implementations§
source§impl TextSearchResult
impl TextSearchResult
pub fn calculate_total_results(&mut self)
pub fn display(&self) -> String
Trait Implementations§
source§impl Debug for TextSearchResult
impl Debug for TextSearchResult
source§impl<'de> Deserialize<'de> for TextSearchResult
impl<'de> Deserialize<'de> for TextSearchResult
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 TextSearchResult
impl Send for TextSearchResult
impl Sync for TextSearchResult
impl Unpin for TextSearchResult
impl UnwindSafe for TextSearchResult
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