pub struct UniversalDetector { /* private fields */ }
Implementations§
Source§impl UniversalDetector
impl UniversalDetector
pub fn new(html: &str, base_url: Option<&str>) -> Self
pub fn detect_all(&self) -> DetectedElements
pub fn detect_tables(&self) -> Vec<TableElement>
pub fn detect_forms(&self) -> Vec<FormElement>
pub fn detect_dropdowns(&self) -> Vec<DropdownElement>
pub fn detect_pagination(&self) -> Option<PaginationElement>
pub fn detect_downloads(&self) -> Vec<DownloadLink>
pub fn detect_contacts(&self) -> ContactInfo
pub fn detect_interactive(&self) -> Vec<InteractiveElement>
pub fn detect_media(&self) -> MediaElements
pub fn detect_structured_data(&self) -> Vec<StructuredData>
pub fn generate_extraction_report(&self) -> String
Auto Trait Implementations§
impl Freeze for UniversalDetector
impl !RefUnwindSafe for UniversalDetector
impl !Send for UniversalDetector
impl !Sync for UniversalDetector
impl Unpin for UniversalDetector
impl UnwindSafe for UniversalDetector
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