data_for_seo/entity/serp/element/carousel_element.rs
1use serde::{Deserialize, Serialize};
2
3/// Carousel Element SERP data model.
4#[derive(Debug, Serialize, Deserialize, Clone)]
5pub struct SerpApiElementCarouselElement {
6 /// Element type as reported by the DataForSEO API.
7 #[serde(rename = "type")]
8 pub type_of_element: Option<String>,
9 /// Title of the result.
10 pub title: Option<String>,
11 /// Subtitle text of the result.
12 pub subtitle: Option<String>,
13 /// URL of the image.
14 pub image_url: Option<String>,
15}