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