pub struct GoogleCloudDialogflowV2beta1ResponseMessage {
pub end_interaction: Option<GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction>,
pub live_agent_handoff: Option<GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff>,
pub mixed_audio: Option<GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio>,
pub payload: Option<HashMap<String, Value>>,
pub telephony_transfer_call: Option<GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall>,
pub text: Option<GoogleCloudDialogflowV2beta1ResponseMessageText>,
}
Expand description
Response messages from an automated agent.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_interaction: Option<GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction>
A signal that indicates the interaction with the Dialogflow agent has ended.
live_agent_handoff: Option<GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff>
Hands off conversation to a live agent.
mixed_audio: Option<GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio>
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
payload: Option<HashMap<String, Value>>
Returns a response containing a custom, platform-specific payload.
telephony_transfer_call: Option<GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall>
A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
text: Option<GoogleCloudDialogflowV2beta1ResponseMessageText>
Returns a text response.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1ResponseMessage
impl Clone for GoogleCloudDialogflowV2beta1ResponseMessage
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1ResponseMessage
fn clone(&self) -> GoogleCloudDialogflowV2beta1ResponseMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDialogflowV2beta1ResponseMessage
impl Default for GoogleCloudDialogflowV2beta1ResponseMessage
source§fn default() -> GoogleCloudDialogflowV2beta1ResponseMessage
fn default() -> GoogleCloudDialogflowV2beta1ResponseMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1ResponseMessage
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1ResponseMessage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDialogflowV2beta1ResponseMessage
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1ResponseMessage
impl Send for GoogleCloudDialogflowV2beta1ResponseMessage
impl Sync for GoogleCloudDialogflowV2beta1ResponseMessage
impl Unpin for GoogleCloudDialogflowV2beta1ResponseMessage
impl UnwindSafe for GoogleCloudDialogflowV2beta1ResponseMessage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more