pub struct NeighborhoodSummary {
pub overview: LocalizedText,
pub description: LocalizedText,
pub flag_content_uri: Url,
pub disclosure_text: LocalizedText,
}Expand description
A summary of points of interest near a place.
Neighborhood summaries provide AI-generated overviews of the surrounding area, highlighting notable places, attractions, and characteristics of the neighborhood. These summaries help users understand the local context and what makes an area interesting or notable.
The content is generated using Gemini AI capabilities and is regularly updated to reflect current information about the neighborhood.
Fields§
§overview: LocalizedTextAn overview summary of the neighborhood.
Provides a high-level description of the neighborhood, including notable characteristics, popular attractions, and general atmosphere. Generated by AI to give users a quick understanding of what makes this area distinctive.
description: LocalizedTextA detailed description of the neighborhood.
Contains more comprehensive information about the neighborhood, including specific points of interest, local amenities, and detailed characteristics that help users understand the area’s unique features and appeal.
flag_content_uri: UrlA link where users can flag a problem with the summary.
Provides a URL where users can report issues with the AI-generated content, such as inaccurate information or inappropriate content, enabling quality control and improvement of the summary system.
disclosure_text: LocalizedTextThe AI disclosure message indicating the content source.
Contains localized text such as “Summarized with Gemini” to inform users that the content was generated using AI technology. Appears in the language specified in the request when available.
Implementations§
Source§impl NeighborhoodSummary
impl NeighborhoodSummary
Sourcepub fn overview(&self) -> &LocalizedText
pub fn overview(&self) -> &LocalizedText
An overview summary of the neighborhood.
Provides a high-level description of the neighborhood, including notable characteristics, popular attractions, and general atmosphere. Generated by AI to give users a quick understanding of what makes this area distinctive.
Sourcepub fn description(&self) -> &LocalizedText
pub fn description(&self) -> &LocalizedText
A detailed description of the neighborhood.
Contains more comprehensive information about the neighborhood, including specific points of interest, local amenities, and detailed characteristics that help users understand the area’s unique features and appeal.
Sourcepub fn flag_content_uri(&self) -> &Url
pub fn flag_content_uri(&self) -> &Url
A link where users can flag a problem with the summary.
Provides a URL where users can report issues with the AI-generated content, such as inaccurate information or inappropriate content, enabling quality control and improvement of the summary system.
Sourcepub fn disclosure_text(&self) -> &LocalizedText
pub fn disclosure_text(&self) -> &LocalizedText
The AI disclosure message indicating the content source.
Contains localized text such as “Summarized with Gemini” to inform users that the content was generated using AI technology. Appears in the language specified in the request when available.
Trait Implementations§
Source§impl Clone for NeighborhoodSummary
impl Clone for NeighborhoodSummary
Source§fn clone(&self) -> NeighborhoodSummary
fn clone(&self) -> NeighborhoodSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NeighborhoodSummary
impl Debug for NeighborhoodSummary
Source§impl<'de> Deserialize<'de> for NeighborhoodSummary
impl<'de> Deserialize<'de> for NeighborhoodSummary
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>,
Source§impl Hash for NeighborhoodSummary
impl Hash for NeighborhoodSummary
Source§impl PartialEq for NeighborhoodSummary
impl PartialEq for NeighborhoodSummary
Source§impl Serialize for NeighborhoodSummary
impl Serialize for NeighborhoodSummary
impl Eq for NeighborhoodSummary
impl StructuralPartialEq for NeighborhoodSummary
Auto Trait Implementations§
impl Freeze for NeighborhoodSummary
impl RefUnwindSafe for NeighborhoodSummary
impl Send for NeighborhoodSummary
impl Sync for NeighborhoodSummary
impl Unpin for NeighborhoodSummary
impl UnsafeUnpin for NeighborhoodSummary
impl UnwindSafe for NeighborhoodSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.