Trait FromCssSelector

Source
pub trait FromCssSelector {
    type CssSelectorExtractResult;

    // Required method
    fn from_html(html: Html) -> Self::CssSelectorExtractResult;
}
Expand description

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

Required Associated Types§

Source

type CssSelectorExtractResult

extract result by css selector

Required Methods§

Source

fn from_html(html: Html) -> Self::CssSelectorExtractResult

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§