Enum googapis::google::cloud::dialogflow::v2beta1::conversation_event::Type [−][src]
#[repr(i32)]
pub enum Type {
Unspecified,
ConversationStarted,
ConversationFinished,
NewMessage,
UnrecoverableError,
}
Expand description
Enumeration of the types of events available.
Variants
Type not set.
A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.
An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.
An existing conversation has received a new message, either from API or telephony. It is configured in [ConversationProfile.new_message_event_notification_config][google.cloud.dialogflow.v2beta1.ConversationProfile.new_message_event_notification_config]
Unrecoverable error during a telephone call.
In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding.
We don’t fire this event:
- in an API call because we can directly return the error, or,
- when we can recover from an error.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more