Struct gapi_grpc::google::cloud::dialogflow::v2::SuggestArticlesResponse[][src]

pub struct SuggestArticlesResponse {
    pub article_answers: Vec<ArticleAnswer>,
    pub latest_message: String,
    pub context_size: i32,
}

The response message for [Participants.SuggestArticles][google.cloud.dialogflow.v2.Participants.SuggestArticles].

Fields

article_answers: Vec<ArticleAnswer>

Articles ordered by score in descending order.

latest_message: String

The name of the latest conversation message used to compile suggestion for.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

context_size: i32

Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestArticlesResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestArticlesRequest.context_size][google.cloud.dialogflow.v2.SuggestArticlesRequest.context_size] field in the request if there aren’t that many messages in the conversation.

Trait Implementations

impl Clone for SuggestArticlesResponse[src]

impl Debug for SuggestArticlesResponse[src]

impl Default for SuggestArticlesResponse[src]

impl Message for SuggestArticlesResponse[src]

impl PartialEq<SuggestArticlesResponse> for SuggestArticlesResponse[src]

impl StructuralPartialEq for SuggestArticlesResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for SuggestArticlesResponse

impl Send for SuggestArticlesResponse

impl Sync for SuggestArticlesResponse

impl Unpin for SuggestArticlesResponse

impl UnwindSafe for SuggestArticlesResponse

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]