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