vapi_client/models/
assistant_hook_assistant_speech_interrupted_do_inner.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum AssistantHookAssistantSpeechInterruptedDoInner {
17 TransferAssistantHookAction(models::TransferAssistantHookAction),
18 FunctionCallAssistantHookAction(models::FunctionCallAssistantHookAction),
19 SayAssistantHookAction(models::SayAssistantHookAction),
20}
21
22impl Default for AssistantHookAssistantSpeechInterruptedDoInner {
23 fn default() -> Self {
24 Self::TransferAssistantHookAction(Default::default())
25 }
26}
27#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
29pub enum TypeTrue {
30 #[serde(rename = "transfer")]
31 Transfer,
32 #[serde(rename = "function")]
33 Function,
34 #[serde(rename = "say")]
35 Say,
36}
37
38impl Default for TypeTrue {
39 fn default() -> TypeTrue {
40 Self::Transfer
41 }
42}