Skip to main content

data_for_seo/entity/serp/element/
ai_overview_reference.rs

1use crate::entity::serp::element::images_element::SerpApiElementImagesElement;
2use serde::{Deserialize, Serialize};
3
4/// Ai Overview Reference SERP data model.
5#[derive(Debug, Serialize, Deserialize, Clone)]
6pub struct SerpApiElementAiOverviewReference {
7    /// Element type as reported by the DataForSEO API.
8    #[serde(rename = "type")]
9    pub type_of_element: Option<String>,
10
11    /// Source / publisher of the result.
12    pub source: Option<String>,
13    /// Domain of the result.
14    pub domain: Option<String>,
15    /// URL of the result.
16    pub url: Option<String>,
17    /// Title of the result.
18    pub title: Option<String>,
19    /// Text content.
20    pub text: Option<String>,
21    /// Images attached to the result.
22    pub images: Option<Vec<SerpApiElementImagesElement>>,
23}