Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1SuggestionResult [−][src]
pub struct GoogleCloudDialogflowV2beta1SuggestionResult {
pub error: Option<GoogleRpcStatus>,
pub suggest_articles_response: Option<GoogleCloudDialogflowV2beta1SuggestArticlesResponse>,
pub suggest_faq_answers_response: Option<GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse>,
pub suggest_smart_replies_response: Option<GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse>,
}
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<GoogleCloudDialogflowV2beta1SuggestArticlesResponse>
SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
suggest_faq_answers_response: Option<GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse>
SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
suggest_smart_replies_response: Option<GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse>
SuggestSmartRepliesResponse if request is for SMART_REPLY.
Trait Implementations
Returns the “default value” for a type. Read more
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
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more