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