pub struct DomainOverlapExplanation {
pub domain_overlap: f32,
pub query_domains: Vec<String>,
pub memory_domains: Vec<String>,
pub matched_domains: Vec<String>,
}Expand description
Explanation for domain-overlap scoring.
Fields§
§domain_overlap: f32Normalized domain overlap in [0, 1].
query_domains: Vec<String>Normalized query/task domains considered.
memory_domains: Vec<String>Normalized memory domains considered.
matched_domains: Vec<String>Query domains also present on the memory.
Trait Implementations§
Source§impl Clone for DomainOverlapExplanation
impl Clone for DomainOverlapExplanation
Source§fn clone(&self) -> DomainOverlapExplanation
fn clone(&self) -> DomainOverlapExplanation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DomainOverlapExplanation
impl Debug for DomainOverlapExplanation
Source§impl PartialEq for DomainOverlapExplanation
impl PartialEq for DomainOverlapExplanation
Source§fn eq(&self, other: &DomainOverlapExplanation) -> bool
fn eq(&self, other: &DomainOverlapExplanation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DomainOverlapExplanation
Auto Trait Implementations§
impl Freeze for DomainOverlapExplanation
impl RefUnwindSafe for DomainOverlapExplanation
impl Send for DomainOverlapExplanation
impl Sync for DomainOverlapExplanation
impl Unpin for DomainOverlapExplanation
impl UnsafeUnpin for DomainOverlapExplanation
impl UnwindSafe for DomainOverlapExplanation
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