pub struct SearchResult {Show 13 fields
pub id: String,
pub title: String,
pub url: String,
pub description: Option<String>,
pub content: Option<String>,
pub summary: Option<String>,
pub published_date: Option<DateTime<Utc>>,
pub domain: DomainInfo,
pub metadata: PageMetadata,
pub relevance_score: f64,
pub content_type: ContentType,
pub language: Option<String>,
pub reading_time_minutes: Option<u32>,
}Expand description
Comprehensive search result with content and metadata
Fields§
§id: StringUnique result identifier
title: StringPage title
url: StringPage URL
description: Option<String>Page description/snippet
content: Option<String>Extracted text content
summary: Option<String>Content summary (if processed)
published_date: Option<DateTime<Utc>>Publication date (if available)
domain: DomainInfoDomain information
metadata: PageMetadataPage metadata
relevance_score: f64Search relevance score (0.0 - 1.0)
content_type: ContentTypeContent type and format info
language: Option<String>Language detection result
reading_time_minutes: Option<u32>Estimated reading time (minutes)
Trait Implementations§
Source§impl Clone for SearchResult
impl Clone for SearchResult
Source§fn clone(&self) -> SearchResult
fn clone(&self) -> SearchResult
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 SearchResult
impl Debug for SearchResult
Source§impl<'de> Deserialize<'de> for SearchResult
impl<'de> Deserialize<'de> for SearchResult
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
Source§impl JsonSchema for SearchResult
impl JsonSchema for SearchResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
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