Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::webhook_request::IntentInfo[][src]

pub struct IntentInfo {
    pub last_matched_intent: String,
    pub display_name: String,
    pub parameters: HashMap<String, IntentParameterValue>,
    pub confidence: f32,
}

Represents intent information communicated to the webhook.

Fields

last_matched_intent: String

Always present. The unique identifier of the last matched [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

display_name: String

Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3beta1.Intent].

parameters: HashMap<String, IntentParameterValue>

Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user’s utterance. All parameters defined in the matched intent that are identified will be surfaced here.

confidence: f32

The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).

Trait Implementations

impl Clone for IntentInfo[src]

impl Debug for IntentInfo[src]

impl Default for IntentInfo[src]

impl Message for IntentInfo[src]

impl PartialEq<IntentInfo> for IntentInfo[src]

impl StructuralPartialEq for IntentInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for IntentInfo

impl Send for IntentInfo

impl Sync for IntentInfo

impl Unpin for IntentInfo

impl UnwindSafe for IntentInfo

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]