pub struct AiConversationWebSearchToolCall {
pub name: Option<AiConversationTool>,
pub display_info: Option<AiConversationToolDisplayInfo>,
pub raw_args: Option<Value>,
pub raw_result: Option<Value>,
pub args: Option<AiConversationWebSearchToolCallArgs>,
}Fields§
§name: Option<AiConversationTool>The name of the tool that was called.
display_info: Option<AiConversationToolDisplayInfo>§raw_args: Option<Value>The arguments of the tool call.
raw_result: Option<Value>The result of the tool call.
args: Option<AiConversationWebSearchToolCallArgs>The arguments to the tool call.
Trait Implementations§
Source§impl Clone for AiConversationWebSearchToolCall
impl Clone for AiConversationWebSearchToolCall
Source§fn clone(&self) -> AiConversationWebSearchToolCall
fn clone(&self) -> AiConversationWebSearchToolCall
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 Default for AiConversationWebSearchToolCall
impl Default for AiConversationWebSearchToolCall
Source§fn default() -> AiConversationWebSearchToolCall
fn default() -> AiConversationWebSearchToolCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiConversationWebSearchToolCall
impl<'de> Deserialize<'de> for AiConversationWebSearchToolCall
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 AiConversationWebSearchToolCall
impl RefUnwindSafe for AiConversationWebSearchToolCall
impl Send for AiConversationWebSearchToolCall
impl Sync for AiConversationWebSearchToolCall
impl Unpin for AiConversationWebSearchToolCall
impl UnsafeUnpin for AiConversationWebSearchToolCall
impl UnwindSafe for AiConversationWebSearchToolCall
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