Struct google_dialogflow2::api::GoogleCloudDialogflowV2SuggestionResult[][src]

pub struct GoogleCloudDialogflowV2SuggestionResult {
    pub error: Option<GoogleRpcStatus>,
    pub suggest_articles_response: Option<GoogleCloudDialogflowV2SuggestArticlesResponse>,
    pub suggest_faq_answers_response: Option<GoogleCloudDialogflowV2SuggestFaqAnswersResponse>,
}

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.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2SuggestionResult[src]

impl Debug for GoogleCloudDialogflowV2SuggestionResult[src]

impl Default for GoogleCloudDialogflowV2SuggestionResult[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SuggestionResult[src]

impl Part for GoogleCloudDialogflowV2SuggestionResult[src]

impl Serialize for GoogleCloudDialogflowV2SuggestionResult[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2SuggestionResult[src]

impl Send for GoogleCloudDialogflowV2SuggestionResult[src]

impl Sync for GoogleCloudDialogflowV2SuggestionResult[src]

impl Unpin for GoogleCloudDialogflowV2SuggestionResult[src]

impl UnwindSafe for GoogleCloudDialogflowV2SuggestionResult[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.