Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§