Struct google_dialogflow2::api::GoogleCloudDialogflowV2Message[][src]

pub struct GoogleCloudDialogflowV2Message {
    pub content: Option<String>,
    pub create_time: Option<String>,
    pub language_code: Option<String>,
    pub message_annotation: Option<GoogleCloudDialogflowV2MessageAnnotation>,
    pub name: Option<String>,
    pub participant: Option<String>,
    pub participant_role: Option<String>,
}

Represents a message posted into a conversation.

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

Fields

content: Option<String>

Required. The message content.

create_time: Option<String>

Output only. The time when the message was created.

language_code: Option<String>

Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".

message_annotation: Option<GoogleCloudDialogflowV2MessageAnnotation>

Output only. The annotation for the message.

name: Option<String>

The unique identifier of the message. Format: projects//locations//conversations//messages/.

participant: Option<String>

Output only. The participant that sends this message.

participant_role: Option<String>

Output only. The role of the participant.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2Message[src]

impl Debug for GoogleCloudDialogflowV2Message[src]

impl Default for GoogleCloudDialogflowV2Message[src]

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

impl Part for GoogleCloudDialogflowV2Message[src]

impl Serialize for GoogleCloudDialogflowV2Message[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2Message[src]

impl Send for GoogleCloudDialogflowV2Message[src]

impl Sync for GoogleCloudDialogflowV2Message[src]

impl Unpin for GoogleCloudDialogflowV2Message[src]

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