Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
source · pub struct GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff {
pub metadata: Option<HashMap<String, Value>>,
}
Expand description
Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.
This type is not used in any activity, and only used as part of another schema.
Fields§
§metadata: Option<HashMap<String, Value>>
Custom metadata for your handoff procedure. Dialogflow doesn’t impose any structure on this.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
impl Clone for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
fn clone(&self) -> GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
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 GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
impl Default for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
source§fn default() -> GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
fn default() -> GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
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 GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
impl Send for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
impl Sync for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
impl Unpin for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
impl UnwindSafe for GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
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