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