Struct google_dialogflow2::api::GoogleCloudDialogflowV2AnnotatedMessagePart[][src]

pub struct GoogleCloudDialogflowV2AnnotatedMessagePart {
    pub entity_type: Option<String>,
    pub formatted_value: Option<String>,
    pub text: Option<String>,
}

Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.

This type is not used in any activity, and only used as part of another schema.

Fields

entity_type: Option<String>

The Dialogflow system entity type of this message part. If this is empty, Dialogflow could not annotate the phrase part with a system entity.

formatted_value: Option<String>

The Dialogflow system entity formatted value of this message part. For example for a system entity of type @sys.unit-currency, this may contain: { "amount": 5, "currency": "USD" }

text: Option<String>

A part of a message possibly annotated with an entity.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

impl Debug for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

impl Default for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

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

impl Part for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

impl Serialize for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

impl Send for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

impl Sync for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

impl Unpin for GoogleCloudDialogflowV2AnnotatedMessagePart[src]

impl UnwindSafe for GoogleCloudDialogflowV2AnnotatedMessagePart[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.