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§
sourcetype XPathExtractResult
type XPathExtractResult
extract result by xpath
Required Methods§
sourcefn from_xhtml(html: XHtml) -> Self::XPathExtractResult
fn from_xhtml(html: XHtml) -> Self::XPathExtractResult
From Html Response
Object Safety§
This trait is not object safe.