pub struct ExecutedToolCallBuilder(/* private fields */);Expand description
Builder for ExecutedToolCall.
Implementations§
Source§impl ExecutedToolCallBuilder
impl ExecutedToolCallBuilder
pub fn tool_result_sources(self, value: impl Into<ToolResultSources>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ExecutedToolCall
pub fn build(self) -> ExecutedToolCall
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ExecutedToolCallBuilder
impl RefUnwindSafe for ExecutedToolCallBuilder
impl Send for ExecutedToolCallBuilder
impl Sync for ExecutedToolCallBuilder
impl Unpin for ExecutedToolCallBuilder
impl UnsafeUnpin for ExecutedToolCallBuilder
impl UnwindSafe for ExecutedToolCallBuilder
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