pub struct QueryDomain {
pub primary_domain: String,
pub secondary_domains: Vec<String>,
pub confidence: f32,
}Expand description
Domain classification for the query
Fields§
§primary_domain: String§secondary_domains: Vec<String>§confidence: f32Trait Implementations§
Source§impl Clone for QueryDomain
impl Clone for QueryDomain
Source§fn clone(&self) -> QueryDomain
fn clone(&self) -> QueryDomain
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 QueryDomain
impl Debug for QueryDomain
Source§impl<'de> Deserialize<'de> for QueryDomain
impl<'de> Deserialize<'de> for QueryDomain
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 QueryDomain
impl RefUnwindSafe for QueryDomain
impl Send for QueryDomain
impl Sync for QueryDomain
impl Unpin for QueryDomain
impl UnwindSafe for QueryDomain
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