search5 0.2.2

search5 - Local File Search Engine
mod html;

pub use html::HtmlParser;

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct ParsedDocument {
    pub url: String,
    pub title: String,
    pub content: String,
}

impl ParsedDocument {
    pub fn new(url: String, title: String, content: String) -> Self {
        Self {
            url,
            title,
            content,
        }
    }
}