pub struct GenericExtractor;Expand description
Generic content extractor (fallback)
Trait Implementations§
Source§impl Extractor for GenericExtractor
impl Extractor for GenericExtractor
Source§fn can_extract(&self, _url: &str, _schema_org_data: &[Value]) -> bool
fn can_extract(&self, _url: &str, _schema_org_data: &[Value]) -> bool
Check if this extractor can handle the current document
Source§fn extract_from_html(&self, html: &str) -> Result<ExtractedContent>
fn extract_from_html(&self, html: &str) -> Result<ExtractedContent>
Extract content from HTML string
Auto Trait Implementations§
impl Freeze for GenericExtractor
impl RefUnwindSafe for GenericExtractor
impl Send for GenericExtractor
impl Sync for GenericExtractor
impl Unpin for GenericExtractor
impl UnsafeUnpin for GenericExtractor
impl UnwindSafe for GenericExtractor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more