Struct gapi_grpc::google::cloud::dialogflow::v2beta1::SuggestSmartRepliesResponse[][src]

pub struct SuggestSmartRepliesResponse {
    pub smart_reply_answers: Vec<SmartReplyAnswer>,
    pub latest_message: String,
    pub context_size: i32,
}

The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].

Fields

smart_reply_answers: Vec<SmartReplyAnswer>

Output only. Multiple reply options provided by smart reply service. The order is based on the rank of the model prediction. The maximum number of the returned replies is set in SmartReplyConfig.

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.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there aren’t that many messages in the conversation.

Trait Implementations

impl Clone for SuggestSmartRepliesResponse[src]

impl Debug for SuggestSmartRepliesResponse[src]

impl Default for SuggestSmartRepliesResponse[src]

impl Message for SuggestSmartRepliesResponse[src]

impl PartialEq<SuggestSmartRepliesResponse> for SuggestSmartRepliesResponse[src]

impl StructuralPartialEq for SuggestSmartRepliesResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for SuggestSmartRepliesResponse

impl Send for SuggestSmartRepliesResponse

impl Sync for SuggestSmartRepliesResponse

impl Unpin for SuggestSmartRepliesResponse

impl UnwindSafe for SuggestSmartRepliesResponse

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]