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§
Sourcetype CssSelectorExtractResult
type CssSelectorExtractResult
extract result by css selector
Required Methods§
Sourcefn from_html(html: Html) -> Self::CssSelectorExtractResult
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.