pub struct GoogleCloudDialogflowV2SuggestionResult {
pub error: Option<GoogleRpcStatus>,
pub suggest_articles_response: Option<GoogleCloudDialogflowV2SuggestArticlesResponse>,
pub suggest_faq_answers_response: Option<GoogleCloudDialogflowV2SuggestFaqAnswersResponse>,
pub suggest_smart_replies_response: Option<GoogleCloudDialogflowV2SuggestSmartRepliesResponse>,
}
Expand description
One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.
This type is not used in any activity, and only used as part of another schema.
Fields§
§error: Option<GoogleRpcStatus>
Error status if the request failed.
suggest_articles_response: Option<GoogleCloudDialogflowV2SuggestArticlesResponse>
SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
suggest_faq_answers_response: Option<GoogleCloudDialogflowV2SuggestFaqAnswersResponse>
SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
suggest_smart_replies_response: Option<GoogleCloudDialogflowV2SuggestSmartRepliesResponse>
SuggestSmartRepliesResponse if request is for SMART_REPLY.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2SuggestionResult
impl Clone for GoogleCloudDialogflowV2SuggestionResult
source§fn clone(&self) -> GoogleCloudDialogflowV2SuggestionResult
fn clone(&self) -> GoogleCloudDialogflowV2SuggestionResult
Returns a copy 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 GoogleCloudDialogflowV2SuggestionResult
impl Default for GoogleCloudDialogflowV2SuggestionResult
source§fn default() -> GoogleCloudDialogflowV2SuggestionResult
fn default() -> GoogleCloudDialogflowV2SuggestionResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SuggestionResult
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SuggestionResult
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 GoogleCloudDialogflowV2SuggestionResult
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2SuggestionResult
impl Send for GoogleCloudDialogflowV2SuggestionResult
impl Sync for GoogleCloudDialogflowV2SuggestionResult
impl Unpin for GoogleCloudDialogflowV2SuggestionResult
impl UnwindSafe for GoogleCloudDialogflowV2SuggestionResult
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