pub struct ToolCallResultPayload {
pub message_id: MessageId,
pub tool_call_id: AiToolCallId,
pub content: Value,
pub role: MessageRole,
}Fields§
§message_id: MessageId§tool_call_id: AiToolCallId§content: Value§role: MessageRoleTrait Implementations§
Source§impl Clone for ToolCallResultPayload
impl Clone for ToolCallResultPayload
Source§fn clone(&self) -> ToolCallResultPayload
fn clone(&self) -> ToolCallResultPayload
Returns a duplicate 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 Debug for ToolCallResultPayload
impl Debug for ToolCallResultPayload
Source§impl<'de> Deserialize<'de> for ToolCallResultPayload
impl<'de> Deserialize<'de> for ToolCallResultPayload
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
Auto Trait Implementations§
impl Freeze for ToolCallResultPayload
impl RefUnwindSafe for ToolCallResultPayload
impl Send for ToolCallResultPayload
impl Sync for ToolCallResultPayload
impl Unpin for ToolCallResultPayload
impl UnwindSafe for ToolCallResultPayload
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