Trait reqwest_scraper::FromXPath

source ·
pub trait FromXPath {
    type XPathExtractResult;

    // Required method
    fn from_xhtml(html: XHtml) -> Self::XPathExtractResult;
}
Expand description

Use XPath to extract the HTML response body into the derived struct

Required Associated Types§

source

type XPathExtractResult

extract result by xpath

Required Methods§

source

fn from_xhtml(html: XHtml) -> Self::XPathExtractResult

From Html Response

Object Safety§

This trait is not object safe.

Implementors§