pub struct ScraperOutput {
pub chunk_count: usize,
pub file_count: usize,
pub total_bytes: u64,
pub chunks: Vec<ScrapedChunk>,
pub manifest: Option<Value>,
pub errors: Vec<String>,
pub duration_ms: u128,
}Expand description
Output from the scraper
Fields§
§chunk_count: usizeTotal chunks created
file_count: usizeTotal files processed
total_bytes: u64Total bytes processed
chunks: Vec<ScrapedChunk>Chunks with their metadata
manifest: Option<Value>Manifest for all chunks
errors: Vec<String>Errors encountered during scraping
duration_ms: u128Time taken (milliseconds)
Trait Implementations§
Source§impl Clone for ScraperOutput
impl Clone for ScraperOutput
Source§fn clone(&self) -> ScraperOutput
fn clone(&self) -> ScraperOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScraperOutput
impl Debug for ScraperOutput
Source§impl<'de> Deserialize<'de> for ScraperOutput
impl<'de> Deserialize<'de> for ScraperOutput
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 Freeze for ScraperOutput
impl RefUnwindSafe for ScraperOutput
impl Send for ScraperOutput
impl Sync for ScraperOutput
impl Unpin for ScraperOutput
impl UnwindSafe for ScraperOutput
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