Struct google_dialogflow2::api::GoogleCloudDialogflowV2MessageAnnotation[][src]

pub struct GoogleCloudDialogflowV2MessageAnnotation {
    pub contain_entities: Option<bool>,
    pub parts: Option<Vec<GoogleCloudDialogflowV2AnnotatedMessagePart>>,
}

Represents the result of annotation for the message.

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

Fields

contain_entities: Option<bool>

Indicates whether the text message contains entities.

parts: Option<Vec<GoogleCloudDialogflowV2AnnotatedMessagePart>>

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

Trait Implementations

impl Clone for GoogleCloudDialogflowV2MessageAnnotation[src]

impl Debug for GoogleCloudDialogflowV2MessageAnnotation[src]

impl Default for GoogleCloudDialogflowV2MessageAnnotation[src]

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

impl Part for GoogleCloudDialogflowV2MessageAnnotation[src]

impl Serialize for GoogleCloudDialogflowV2MessageAnnotation[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2MessageAnnotation[src]

impl Send for GoogleCloudDialogflowV2MessageAnnotation[src]

impl Sync for GoogleCloudDialogflowV2MessageAnnotation[src]

impl Unpin for GoogleCloudDialogflowV2MessageAnnotation[src]

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