pub struct ToolSearchCallBuilder(/* private fields */);Expand description
Builder for ToolSearchCall.
Implementations§
Source§impl ToolSearchCallBuilder
impl ToolSearchCallBuilder
pub fn agent(self, value: impl Into<Option<Agent>>) -> Self
pub fn id(self, value: impl Into<Option<String>>) -> Self
pub fn call_id(self, value: impl Into<Option<String>>) -> Self
pub fn execution(self, value: impl Into<ToolExecution>) -> Self
pub fn status(self, value: impl Into<Option<ItemStatus>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ToolSearchCall
pub fn build(self) -> ToolSearchCall
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ToolSearchCallBuilder
impl RefUnwindSafe for ToolSearchCallBuilder
impl Send for ToolSearchCallBuilder
impl Sync for ToolSearchCallBuilder
impl Unpin for ToolSearchCallBuilder
impl UnsafeUnpin for ToolSearchCallBuilder
impl UnwindSafe for ToolSearchCallBuilder
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