pub struct ClientMessageToolCalls {
pub phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>,
pub type: Option<TypeTrue>,
pub tool_with_tool_call_list: Vec<ClientMessageToolCallsToolWithToolCallListInner>,
pub timestamp: Option<f64>,
pub call: Option<Call>,
pub customer: Option<CreateCustomerDto>,
pub assistant: Option<CreateAssistantDto>,
pub tool_call_list: Vec<ToolCall>,
}
Fields§
§phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>
§type: Option<TypeTrue>
This is the type of the message. "tool-calls" is sent to call a tool.
tool_with_tool_call_list: Vec<ClientMessageToolCallsToolWithToolCallListInner>
This is the list of tools calls that the model is requesting along with the original tool configuration.
timestamp: Option<f64>
This is the timestamp of the message.
call: Option<Call>
This is the call that the message is associated with.
customer: Option<CreateCustomerDto>
This is the customer that the message is associated with.
assistant: Option<CreateAssistantDto>
This is the assistant that the message is associated with.
tool_call_list: Vec<ToolCall>
This is the list of tool calls that the model is requesting.
Implementations§
Source§impl ClientMessageToolCalls
impl ClientMessageToolCalls
pub fn new( tool_with_tool_call_list: Vec<ClientMessageToolCallsToolWithToolCallListInner>, tool_call_list: Vec<ToolCall>, ) -> ClientMessageToolCalls
Trait Implementations§
Source§impl Clone for ClientMessageToolCalls
impl Clone for ClientMessageToolCalls
Source§fn clone(&self) -> ClientMessageToolCalls
fn clone(&self) -> ClientMessageToolCalls
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClientMessageToolCalls
impl Debug for ClientMessageToolCalls
Source§impl Default for ClientMessageToolCalls
impl Default for ClientMessageToolCalls
Source§fn default() -> ClientMessageToolCalls
fn default() -> ClientMessageToolCalls
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientMessageToolCalls
impl<'de> Deserialize<'de> for ClientMessageToolCalls
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
Source§impl PartialEq for ClientMessageToolCalls
impl PartialEq for ClientMessageToolCalls
Source§impl Serialize for ClientMessageToolCalls
impl Serialize for ClientMessageToolCalls
impl StructuralPartialEq for ClientMessageToolCalls
Auto Trait Implementations§
impl Freeze for ClientMessageToolCalls
impl RefUnwindSafe for ClientMessageToolCalls
impl Send for ClientMessageToolCalls
impl Sync for ClientMessageToolCalls
impl Unpin for ClientMessageToolCalls
impl UnwindSafe for ClientMessageToolCalls
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