pub struct ServerMessageResponseAssistantRequest {
pub destination: Option<ServerMessageResponseAssistantRequestDestination>,
pub assistant_id: Option<String>,
pub assistant: Option<CreateAssistantDto>,
pub assistant_overrides: Option<AssistantOverrides>,
pub squad_id: Option<String>,
pub squad: Option<CreateSquadDto>,
pub workflow_id: Option<String>,
pub workflow: Option<CreateWorkflowDto>,
pub workflow_overrides: Option<WorkflowOverrides>,
pub error: Option<String>,
}Fields§
§destination: Option<ServerMessageResponseAssistantRequestDestination>§assistant_id: Option<String>This is the assistant ID that will be used for the call. To use a transient assistant, use assistant instead. To start a call with: - Assistant, use assistantId or assistant - Squad, use squadId or squad - Workflow, use workflowId or workflow
assistant: Option<CreateAssistantDto>This is the assistant that will be used for the call. To use an existing assistant, use assistantId instead. To start a call with: - Assistant, use assistant - Squad, use squad - Workflow, use workflow
assistant_overrides: Option<AssistantOverrides>These are the overrides for the assistant or assistantId’s settings and template variables.
squad_id: Option<String>This is the squad that will be used for the call. To use a transient squad, use squad instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
squad: Option<CreateSquadDto>This is a squad that will be used for the call. To use an existing squad, use squadId instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
workflow_id: Option<String>This is the workflow that will be used for the call. To use a transient workflow, use workflow instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
workflow: Option<CreateWorkflowDto>This is a workflow that will be used for the call. To use an existing workflow, use workflowId instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
workflow_overrides: Option<WorkflowOverrides>These are the overrides for the workflow or workflowId’s settings and template variables.
error: Option<String>This is the error if the call shouldn’t be accepted. This is spoken to the customer. If this is sent, assistantId, assistant, squadId, squad, and destination are ignored.
Implementations§
Trait Implementations§
Source§impl Clone for ServerMessageResponseAssistantRequest
impl Clone for ServerMessageResponseAssistantRequest
Source§fn clone(&self) -> ServerMessageResponseAssistantRequest
fn clone(&self) -> ServerMessageResponseAssistantRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ServerMessageResponseAssistantRequest
impl Default for ServerMessageResponseAssistantRequest
Source§fn default() -> ServerMessageResponseAssistantRequest
fn default() -> ServerMessageResponseAssistantRequest
Source§impl<'de> Deserialize<'de> for ServerMessageResponseAssistantRequest
impl<'de> Deserialize<'de> for ServerMessageResponseAssistantRequest
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>,
Source§impl PartialEq for ServerMessageResponseAssistantRequest
impl PartialEq for ServerMessageResponseAssistantRequest
Source§fn eq(&self, other: &ServerMessageResponseAssistantRequest) -> bool
fn eq(&self, other: &ServerMessageResponseAssistantRequest) -> bool
self and other values to be equal, and is used by ==.