pub struct WebScrapeMetadataDto {
pub author: Option<String>,
pub description: Option<String>,
pub image: Option<String>,
pub language: Option<String>,
pub modified_time: Option<String>,
pub page_type: String,
pub published_time: Option<String>,
pub site_name: Option<String>,
pub structure: WebScrapeMetadataDtoStructure,
pub title: Option<String>,
pub word_count: i64,
}Expand description
WebScrapeMetadataDto
Fields§
The declared author.
description: Option<String>The page’s own description (meta description / og:description).
image: Option<String>The page’s lead image (og:image).
language: Option<String>The language the page declares.
modified_time: Option<String>When the page says it was last updated (ISO 8601).
page_type: StringCoarse page classification (e.g. article, listing, forum, docs).
published_time: Option<String>When the page says it was published (ISO 8601).
site_name: Option<String>The declared site name.
structure: WebScrapeMetadataDtoStructureWhether the content carries markdown structure (headings, lists, emphasis) or is plain prose. plain is not an error — the default extractor optimises for capturing every word and wins on listing and forum pages. If you need the structure, re-request with preferStructure: true.
title: Option<String>The page title.
word_count: i64Word count of the extracted main content.
Trait Implementations§
Source§impl Clone for WebScrapeMetadataDto
impl Clone for WebScrapeMetadataDto
Source§impl Debug for WebScrapeMetadataDto
impl Debug for WebScrapeMetadataDto
Source§impl<'de> Deserialize<'de> for WebScrapeMetadataDto
impl<'de> Deserialize<'de> for WebScrapeMetadataDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for WebScrapeMetadataDto
impl Freeze for WebScrapeMetadataDto
impl Move for WebScrapeMetadataDto
impl RefUnwindSafe for WebScrapeMetadataDto
impl Send for WebScrapeMetadataDto
impl Sync for WebScrapeMetadataDto
impl Unpin for WebScrapeMetadataDto
impl UnsafeUnpin for WebScrapeMetadataDto
impl UnwindSafe for WebScrapeMetadataDto
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