pub struct SerpApiElementLocalPack {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 description: Option<String>,
pub domain: Option<String>,
pub phone: Option<String>,
pub url: Option<String>,
pub booking_url: Option<String>,
pub is_paid: Option<String>,
pub rating: Option<SerpApiRating>,
pub cid: Option<String>,
pub rectangle: Option<SerpApiRectangle>,
}Expand description
LocalPack
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.
description: Option<String>Snippet / description text of the result.
domain: Option<String>Domain of the result.
phone: Option<String>Phone number of the entity.
url: Option<String>URL of the result.
booking_url: Option<String>URL to make a booking or reservation.
is_paid: Option<String>true if the result is a paid placement.
rating: Option<SerpApiRating>Aggregate rating shown for the result.
cid: Option<String>Google CID identifier of the entity.
rectangle: Option<SerpApiRectangle>Pixel bounding box of the element (when calculate_rectangles is set).
Trait Implementations§
Source§impl Clone for SerpApiElementLocalPack
impl Clone for SerpApiElementLocalPack
Source§impl Debug for SerpApiElementLocalPack
impl Debug for SerpApiElementLocalPack
Source§impl<'de> Deserialize<'de> for SerpApiElementLocalPack
impl<'de> Deserialize<'de> for SerpApiElementLocalPack
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 SerpApiElementLocalPack
impl RefUnwindSafe for SerpApiElementLocalPack
impl Send for SerpApiElementLocalPack
impl Sync for SerpApiElementLocalPack
impl Unpin for SerpApiElementLocalPack
impl UnsafeUnpin for SerpApiElementLocalPack
impl UnwindSafe for SerpApiElementLocalPack
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