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

pub struct SuggestArticlesRequest {
    pub parent: String,
    pub latest_message: String,
    pub context_size: i32,
}

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

Fields

parent: String

Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

latest_message: String

The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation.

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

context_size: i32

Max number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestArticlesRequest.latest_message] to use as context when compiling the suggestion. By default 20 and at most 50.

Trait Implementations

impl Clone for SuggestArticlesRequest[src]

impl Debug for SuggestArticlesRequest[src]

impl Default for SuggestArticlesRequest[src]

impl Message for SuggestArticlesRequest[src]

impl PartialEq<SuggestArticlesRequest> for SuggestArticlesRequest[src]

impl StructuralPartialEq for SuggestArticlesRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SuggestArticlesRequest

impl Send for SuggestArticlesRequest

impl Sync for SuggestArticlesRequest

impl Unpin for SuggestArticlesRequest

impl UnwindSafe for SuggestArticlesRequest

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]