Skip to main content

data_for_seo/entity/serp/element/
multi_carousel_element.rs

1use crate::entity::SerpApiElementMultiCarouselSnippet;
2use serde::{Deserialize, Serialize};
3
4/// Multi Carousel Element SERP data model.
5#[derive(Debug, Serialize, Deserialize, Clone)]
6pub struct SerpApiElementMultiCarouselElement {
7    /// Element type as reported by the DataForSEO API.
8    #[serde(rename = "type")]
9    pub type_of_element: Option<String>,
10    /// Title of the result.
11    pub title: Option<String>,
12    /// Multi carousel snippets.
13    pub multi_carousel_snippets: Option<Vec<SerpApiElementMultiCarouselSnippet>>,
14}