pub struct QueryClassification {
pub primary_domain: ExpertDomain,
pub secondary_domains: Vec<ExpertDomain>,
pub complexity: f64,
pub urgency: f64,
}Expand description
Query classification result
Fields§
§primary_domain: ExpertDomainPrimary domain for the query
secondary_domains: Vec<ExpertDomain>Secondary domains that might be needed
complexity: f64Complexity score (0.0 to 1.0)
urgency: f64Urgency level (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for QueryClassification
impl Clone for QueryClassification
Source§fn clone(&self) -> QueryClassification
fn clone(&self) -> QueryClassification
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 QueryClassification
impl Debug for QueryClassification
Source§impl<'de> Deserialize<'de> for QueryClassification
impl<'de> Deserialize<'de> for QueryClassification
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 QueryClassification
impl RefUnwindSafe for QueryClassification
impl Send for QueryClassification
impl Sync for QueryClassification
impl Unpin for QueryClassification
impl UnsafeUnpin for QueryClassification
impl UnwindSafe for QueryClassification
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