pub struct GoogleCloudRetailV2CompleteQueryResponseCompletionResult {
pub attributes: Option<HashMap<String, GoogleCloudRetailV2CustomAttribute>>,
pub suggestion: Option<String>,
}Expand description
Resource that represents completion results.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attributes: Option<HashMap<String, GoogleCloudRetailV2CustomAttribute>>Custom attributes for the suggestion term. * For user-data, the attributes are additional custom attributes ingested through BigQuery. * For cloud-retail, the attributes are product attributes generated by Cloud Retail. It requires UserEvent.product_details is imported properly.
suggestion: Option<String>The suggestion for the query.
Trait Implementations§
Source§impl Clone for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl Clone for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
Source§fn clone(&self) -> GoogleCloudRetailV2CompleteQueryResponseCompletionResult
fn clone(&self) -> GoogleCloudRetailV2CompleteQueryResponseCompletionResult
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 Default for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl Default for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
Source§fn default() -> GoogleCloudRetailV2CompleteQueryResponseCompletionResult
fn default() -> GoogleCloudRetailV2CompleteQueryResponseCompletionResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl<'de> Deserialize<'de> for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
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
impl Part for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
Auto Trait Implementations§
impl Freeze for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl RefUnwindSafe for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl Send for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl Sync for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl Unpin for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
impl UnwindSafe for GoogleCloudRetailV2CompleteQueryResponseCompletionResult
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