pub struct RealtimeSessionCreateRequestBuilder(/* private fields */);Expand description
Builder for RealtimeSessionCreateRequest.
Implementations§
Source§impl RealtimeSessionCreateRequestBuilder
impl RealtimeSessionCreateRequestBuilder
pub fn audio(self, value: impl Into<Option<RealtimeAudioConfig>>) -> Self
pub fn include( self, value: impl Into<Option<Vec<RealtimeSessionCreateRequestIncludeItem>>>, ) -> Self
pub fn instructions(self, value: impl Into<Option<String>>) -> Self
pub fn max_output_tokens( self, value: impl Into<Option<RealtimeSessionCreateRequestMaxOutputTokens>>, ) -> Self
pub fn model(self, value: impl Into<Option<String>>) -> Self
pub fn output_modalities( self, value: impl Into<Option<Vec<RealtimeSessionCreateRequestOutputModalitiesItem>>>, ) -> 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<RealtimeToolChoiceConfig>>, ) -> Self
pub fn tools(self, value: impl Into<Option<RealtimeToolsConfig>>) -> Self
pub fn tracing(self, value: impl Into<Option<RealtimeTracingConfig>>) -> Self
pub fn truncation(self, value: impl Into<Option<RealtimeTruncation>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RealtimeSessionCreateRequest
pub fn build(self) -> RealtimeSessionCreateRequest
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RealtimeSessionCreateRequestBuilder
impl RefUnwindSafe for RealtimeSessionCreateRequestBuilder
impl Send for RealtimeSessionCreateRequestBuilder
impl Sync for RealtimeSessionCreateRequestBuilder
impl Unpin for RealtimeSessionCreateRequestBuilder
impl UnsafeUnpin for RealtimeSessionCreateRequestBuilder
impl UnwindSafe for RealtimeSessionCreateRequestBuilder
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