Struct google_dialogflow2::api::GoogleCloudDialogflowV2NotificationConfig[][src]

pub struct GoogleCloudDialogflowV2NotificationConfig {
    pub message_format: Option<String>,
    pub topic: Option<String>,
}

Defines notification behavior.

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

Fields

message_format: Option<String>

Format of message.

topic: Option<String>

Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. Notification works for phone calls, if this topic either is in the same project as the conversation or you grant service-@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project. Format: projects//locations//topics/.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2NotificationConfig[src]

impl Debug for GoogleCloudDialogflowV2NotificationConfig[src]

impl Default for GoogleCloudDialogflowV2NotificationConfig[src]

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

impl Part for GoogleCloudDialogflowV2NotificationConfig[src]

impl Serialize for GoogleCloudDialogflowV2NotificationConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2NotificationConfig[src]

impl Send for GoogleCloudDialogflowV2NotificationConfig[src]

impl Sync for GoogleCloudDialogflowV2NotificationConfig[src]

impl Unpin for GoogleCloudDialogflowV2NotificationConfig[src]

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