#[non_exhaustive]pub struct ExecutedToolCall {
pub name: String,
pub arguments: Value,
pub tool_result_sources: Option<ToolResultSources>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§arguments: Value§tool_result_sources: Option<ToolResultSources>§rest: RestImplementations§
Source§impl ExecutedToolCall
impl ExecutedToolCall
Sourcepub fn builder(name: String, arguments: Value) -> ExecutedToolCallBuilder
pub fn builder(name: String, arguments: Value) -> ExecutedToolCallBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ExecutedToolCall
impl Clone for ExecutedToolCall
Source§impl Debug for ExecutedToolCall
impl Debug for ExecutedToolCall
Source§impl DeclaredFields for ExecutedToolCall
impl DeclaredFields for ExecutedToolCall
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ExecutedToolCall
impl<'de> Deserialize<'de> for ExecutedToolCall
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 ExecutedToolCall
impl PartialEq for ExecutedToolCall
Source§impl Serialize for ExecutedToolCall
impl Serialize for ExecutedToolCall
impl StructuralPartialEq for ExecutedToolCall
Auto Trait Implementations§
impl Freeze for ExecutedToolCall
impl RefUnwindSafe for ExecutedToolCall
impl Send for ExecutedToolCall
impl Sync for ExecutedToolCall
impl Unpin for ExecutedToolCall
impl UnsafeUnpin for ExecutedToolCall
impl UnwindSafe for ExecutedToolCall
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