pub struct SimilarPagesResult {
pub source_url: String,
pub similar_pages: Vec<SearchResult>,
pub similarity_metadata: SimilarityMetadata,
pub searched_at: DateTime<Utc>,
}Expand description
Similar page search result
Fields§
§source_url: StringSource URL used for similarity search
similar_pages: Vec<SearchResult>Similar pages found
similarity_metadata: SimilarityMetadataSimilarity scores and metadata
searched_at: DateTime<Utc>Search timestamp
Trait Implementations§
Source§impl Clone for SimilarPagesResult
impl Clone for SimilarPagesResult
Source§fn clone(&self) -> SimilarPagesResult
fn clone(&self) -> SimilarPagesResult
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 SimilarPagesResult
impl Debug for SimilarPagesResult
Source§impl<'de> Deserialize<'de> for SimilarPagesResult
impl<'de> Deserialize<'de> for SimilarPagesResult
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 SimilarPagesResult
impl JsonSchema for SimilarPagesResult
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 SimilarPagesResult
impl RefUnwindSafe for SimilarPagesResult
impl Send for SimilarPagesResult
impl Sync for SimilarPagesResult
impl Unpin for SimilarPagesResult
impl UnwindSafe for SimilarPagesResult
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