use serde::Serialize;
#[derive(Debug, Clone, Default)]
#[non_exhaustive]
pub struct ExtractResult {
pub content_text: String,
pub comments_text: String,
pub content_html: String,
pub comments_html: String,
pub metadata: Metadata,
}
#[derive(Debug, Clone, Default, Serialize)]
#[non_exhaustive]
pub struct Metadata {
pub title: String,
pub author: String,
pub url: String,
pub hostname: String,
pub description: String,
pub sitename: String,
pub date: Option<chrono::NaiveDate>,
pub categories: Vec<String>,
pub tags: Vec<String>,
pub id: String,
pub fingerprint: String,
pub license: String,
pub language: String,
pub image: String,
pub page_type: String,
}