pub struct SerpApiElementAnswerBox {
pub rank_group: Option<i64>,
pub rank_absolute: Option<i64>,
pub position: Option<String>,
pub xpath: Option<String>,
pub text: Option<String>,
pub links: Option<Vec<SerpApiElementLinkElement>>,
pub rectangle: Option<SerpApiRectangle>,
}Expand description
AnswerBox
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.
text: Option<String>Text content.
links: Option<Vec<SerpApiElementLinkElement>>Links associated with the result.
rectangle: Option<SerpApiRectangle>Pixel bounding box of the element (when calculate_rectangles is set).
Trait Implementations§
Source§impl Clone for SerpApiElementAnswerBox
impl Clone for SerpApiElementAnswerBox
Source§impl Debug for SerpApiElementAnswerBox
impl Debug for SerpApiElementAnswerBox
Source§impl<'de> Deserialize<'de> for SerpApiElementAnswerBox
impl<'de> Deserialize<'de> for SerpApiElementAnswerBox
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 SerpApiElementAnswerBox
impl RefUnwindSafe for SerpApiElementAnswerBox
impl Send for SerpApiElementAnswerBox
impl Sync for SerpApiElementAnswerBox
impl Unpin for SerpApiElementAnswerBox
impl UnsafeUnpin for SerpApiElementAnswerBox
impl UnwindSafe for SerpApiElementAnswerBox
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