Trait scraper_main::ConvertFromValue [−][src]
pub trait ConvertFromValue<T>: Sized { fn convert_from(self, doc: &Document) -> Result<T>; }
Allows for Conversion from Option<Value> into another.
Required methods
fn convert_from(self, doc: &Document) -> Result<T>[src]
Implementors
impl ConvertFromValue<String> for Result<Value>[src]
impl ConvertFromValue<String> for Result<Value>[src]fn convert_from(self, _: &Document) -> Result<String>[src]
impl<T> ConvertFromValue<Vec<T, Global>> for Result<Value> where
T: ScraperMain, [src]
impl<T> ConvertFromValue<Vec<T, Global>> for Result<Value> where
T: ScraperMain, [src]