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