pub struct SerpApiElementKnowledgeGraph {Show 14 fields
pub rank_group: Option<i64>,
pub rank_absolute: Option<i64>,
pub position: Option<String>,
pub xpath: Option<String>,
pub title: Option<String>,
pub subtitle: Option<String>,
pub description: Option<String>,
pub card_id: Option<String>,
pub url: Option<String>,
pub image_url: Option<String>,
pub logo_url: Option<String>,
pub cid: Option<String>,
pub items: Option<Vec<SerpApiElementHotelsPackElement>>,
pub rectangle: Option<SerpApiRectangle>,
}Expand description
KnowledgeGraph
Fields§
§rank_group: Option<i64>Rank of the element among elements of the same type.
rank_absolute: Option<i64>Absolute rank of the element across the whole SERP.
position: Option<String>Alignment of the element within the SERP, left or right.
xpath: Option<String>XPath of the element within the page.
title: Option<String>Title of the result.
subtitle: Option<String>Subtitle text of the result.
description: Option<String>Snippet / description text of the result.
card_id: Option<String>Identifier of the knowledge-graph card.
url: Option<String>URL of the result.
image_url: Option<String>URL of the image.
logo_url: Option<String>URL of the logo image.
cid: Option<String>Google CID identifier of the entity.
items: Option<Vec<SerpApiElementHotelsPackElement>>Parsed elements of the result.
rectangle: Option<SerpApiRectangle>Pixel bounding box of the element (when calculate_rectangles is set).
Trait Implementations§
Source§impl Clone for SerpApiElementKnowledgeGraph
impl Clone for SerpApiElementKnowledgeGraph
Source§impl Debug for SerpApiElementKnowledgeGraph
impl Debug for SerpApiElementKnowledgeGraph
Source§impl<'de> Deserialize<'de> for SerpApiElementKnowledgeGraph
impl<'de> Deserialize<'de> for SerpApiElementKnowledgeGraph
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SerpApiElementKnowledgeGraph
impl RefUnwindSafe for SerpApiElementKnowledgeGraph
impl Send for SerpApiElementKnowledgeGraph
impl Sync for SerpApiElementKnowledgeGraph
impl Unpin for SerpApiElementKnowledgeGraph
impl UnsafeUnpin for SerpApiElementKnowledgeGraph
impl UnwindSafe for SerpApiElementKnowledgeGraph
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
Mutably borrows from an owned value. Read more