pub struct QueryUnderstanding {
pub original_query: String,
pub query_type: QueryType,
pub intent: QueryIntent,
pub complexity: QueryComplexity,
pub domain: QueryDomain,
pub entities: Vec<QueryEntity>,
pub features: QueryFeatures,
pub keywords: Vec<String>,
pub confidence: f32,
}Expand description
Comprehensive query understanding result
Fields§
§original_query: String§query_type: QueryType§intent: QueryIntent§complexity: QueryComplexity§domain: QueryDomain§entities: Vec<QueryEntity>§features: QueryFeatures§keywords: Vec<String>§confidence: f32Trait Implementations§
Source§impl Clone for QueryUnderstanding
impl Clone for QueryUnderstanding
Source§fn clone(&self) -> QueryUnderstanding
fn clone(&self) -> QueryUnderstanding
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 QueryUnderstanding
impl Debug for QueryUnderstanding
Source§impl<'de> Deserialize<'de> for QueryUnderstanding
impl<'de> Deserialize<'de> for QueryUnderstanding
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 QueryUnderstanding
impl RefUnwindSafe for QueryUnderstanding
impl Send for QueryUnderstanding
impl Sync for QueryUnderstanding
impl Unpin for QueryUnderstanding
impl UnwindSafe for QueryUnderstanding
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