pub struct LiveResponsesConfigBuilder(/* private fields */);Expand description
Builder for LiveResponsesConfig.
Implementations§
Source§impl LiveResponsesConfigBuilder
impl LiveResponsesConfigBuilder
pub fn instructions(self, value: impl Into<Option<String>>) -> Self
pub fn max_output_tokens(self, value: impl Into<Option<u64>>) -> Self
pub fn parallel_tool_calls(self, value: impl Into<Option<bool>>) -> Self
pub fn reasoning(self, value: impl Into<Option<ReasoningConfig>>) -> Self
pub fn service_tier(self, value: impl Into<Option<String>>) -> Self
pub fn text(self, value: impl Into<Option<Value>>) -> Self
pub fn tools(self, value: impl Into<Vec<Tool>>) -> Self
pub fn tool_choice(self, value: impl Into<Value>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> LiveResponsesConfig
pub fn build(self) -> LiveResponsesConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for LiveResponsesConfigBuilder
impl RefUnwindSafe for LiveResponsesConfigBuilder
impl Send for LiveResponsesConfigBuilder
impl Sync for LiveResponsesConfigBuilder
impl Unpin for LiveResponsesConfigBuilder
impl UnsafeUnpin for LiveResponsesConfigBuilder
impl UnwindSafe for LiveResponsesConfigBuilder
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