data_for_seo/entity/serp/element/
knowledge_graph.rs1use crate::entity::SerpApiRectangle;
2use crate::entity::serp::element::hotels_pack_element::SerpApiElementHotelsPackElement;
3use serde::{Deserialize, Serialize};
4
5#[derive(Debug, Serialize, Deserialize, Clone)]
7pub struct SerpApiElementKnowledgeGraph {
8 pub rank_group: Option<i64>,
10 pub rank_absolute: Option<i64>,
12 pub position: Option<String>,
14 pub xpath: Option<String>,
16 pub title: Option<String>,
18 pub subtitle: Option<String>,
20 pub description: Option<String>,
22 pub card_id: Option<String>,
24 pub url: Option<String>,
26 pub image_url: Option<String>,
28 pub logo_url: Option<String>,
30 pub cid: Option<String>,
32 pub items: Option<Vec<SerpApiElementHotelsPackElement>>,
34 pub rectangle: Option<SerpApiRectangle>,
36}