Struct gapi_grpc::google::cloud::dialogflow::v2::ConversationEvent[][src]

pub struct ConversationEvent {
    pub conversation: String,
    pub type: i32,
    pub error_status: Option<Status>,
    pub payload: Option<Payload>,
}

Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.

Fields

conversation: String

The unique identifier of the conversation this notification refers to. Format: projects/<Project ID>/conversations/<Conversation ID>.

type: i32

The type of the event that this notification refers to.

error_status: Option<Status>

More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.

payload: Option<Payload>

Payload of conversation event.

Implementations

impl ConversationEvent[src]

pub fn type(&self) -> Type[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: Type)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for ConversationEvent[src]

impl Debug for ConversationEvent[src]

impl Default for ConversationEvent[src]

impl Message for ConversationEvent[src]

impl PartialEq<ConversationEvent> for ConversationEvent[src]

impl StructuralPartialEq for ConversationEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for ConversationEvent

impl Send for ConversationEvent

impl Sync for ConversationEvent

impl Unpin for ConversationEvent

impl UnwindSafe for ConversationEvent

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]