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