pub struct CustomToolCallBuilder(/* private fields */);Expand description
Builder for CustomToolCall.
Implementations§
Source§impl CustomToolCallBuilder
impl CustomToolCallBuilder
pub fn agent(self, value: impl Into<Option<Agent>>) -> Self
pub fn async_(self, value: impl Into<bool>) -> Self
pub fn id(self, value: impl Into<String>) -> Self
pub fn caller(self, value: impl Into<Option<Caller>>) -> Self
pub fn namespace(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> CustomToolCall
pub fn build(self) -> CustomToolCall
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for CustomToolCallBuilder
impl RefUnwindSafe for CustomToolCallBuilder
impl Send for CustomToolCallBuilder
impl Sync for CustomToolCallBuilder
impl Unpin for CustomToolCallBuilder
impl UnsafeUnpin for CustomToolCallBuilder
impl UnwindSafe for CustomToolCallBuilder
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