pub struct RealtimeResponseCreateParamsBuilder(/* private fields */);Expand description
Builder for RealtimeResponseCreateParams.
Implementations§
Source§impl RealtimeResponseCreateParamsBuilder
impl RealtimeResponseCreateParamsBuilder
pub fn audio( self, value: impl Into<Option<RealtimeResponseCreateAudioOutput>>, ) -> Self
pub fn conversation(self, value: impl Into<Option<String>>) -> Self
pub fn input(self, value: impl Into<Option<Vec<ConversationItem>>>) -> Self
pub fn instructions(self, value: impl Into<Option<String>>) -> Self
pub fn max_output_tokens( self, value: impl Into<Option<RealtimeResponseCreateParamsMaxOutputTokens>>, ) -> Self
pub fn metadata(self, value: impl Into<Option<Metadata>>) -> Self
pub fn output_modalities( self, value: impl Into<Option<Vec<RealtimeResponseCreateParamsOutputModalitiesItem>>>, ) -> Self
pub fn parallel_tool_calls(self, value: impl Into<Option<bool>>) -> Self
pub fn prompt(self, value: impl Into<Option<ResponsePrompt>>) -> Self
pub fn reasoning(self, value: impl Into<Option<RealtimeReasoning>>) -> Self
pub fn tool_choice( self, value: impl Into<Option<RealtimeResponseCreateParamsToolChoice>>, ) -> Self
pub fn tools( self, value: impl Into<Option<Vec<RealtimeResponseCreateParamsTool>>>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RealtimeResponseCreateParams
pub fn build(self) -> RealtimeResponseCreateParams
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RealtimeResponseCreateParamsBuilder
impl RefUnwindSafe for RealtimeResponseCreateParamsBuilder
impl Send for RealtimeResponseCreateParamsBuilder
impl Sync for RealtimeResponseCreateParamsBuilder
impl Unpin for RealtimeResponseCreateParamsBuilder
impl UnsafeUnpin for RealtimeResponseCreateParamsBuilder
impl UnwindSafe for RealtimeResponseCreateParamsBuilder
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