#[non_exhaustive]pub struct QueryUnderstandingInfo {
pub query_classification_info: Vec<QueryClassificationInfo>,
/* private fields */
}Available on crate features
conversational-search-service or session-service only.Expand description
Query understanding information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.query_classification_info: Vec<QueryClassificationInfo>Query classification information.
Implementations§
Source§impl QueryUnderstandingInfo
impl QueryUnderstandingInfo
pub fn new() -> Self
Sourcepub fn set_query_classification_info<T, V>(self, v: T) -> Self
pub fn set_query_classification_info<T, V>(self, v: T) -> Self
Sets the value of query_classification_info.
§Example
ⓘ
use google_cloud_discoveryengine_v1::model::answer::query_understanding_info::QueryClassificationInfo;
let x = QueryUnderstandingInfo::new()
.set_query_classification_info([
QueryClassificationInfo::default()/* use setters */,
QueryClassificationInfo::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for QueryUnderstandingInfo
impl Clone for QueryUnderstandingInfo
Source§fn clone(&self) -> QueryUnderstandingInfo
fn clone(&self) -> QueryUnderstandingInfo
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 QueryUnderstandingInfo
impl Debug for QueryUnderstandingInfo
Source§impl Default for QueryUnderstandingInfo
impl Default for QueryUnderstandingInfo
Source§fn default() -> QueryUnderstandingInfo
fn default() -> QueryUnderstandingInfo
Returns the “default value” for a type. Read more
Source§impl Message for QueryUnderstandingInfo
impl Message for QueryUnderstandingInfo
Source§impl PartialEq for QueryUnderstandingInfo
impl PartialEq for QueryUnderstandingInfo
impl StructuralPartialEq for QueryUnderstandingInfo
Auto Trait Implementations§
impl Freeze for QueryUnderstandingInfo
impl RefUnwindSafe for QueryUnderstandingInfo
impl Send for QueryUnderstandingInfo
impl Sync for QueryUnderstandingInfo
impl Unpin for QueryUnderstandingInfo
impl UnwindSafe for QueryUnderstandingInfo
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