pub struct RealtimeResponseCreateParams {
pub audio: Option<RealtimeResponseCreateAudioOutput>,
pub conversation: Option<ResponseConversation>,
pub input: Option<Vec<RealtimeConversationItem>>,
pub instructions: Option<String>,
pub max_output_tokens: Option<MaxOutputTokens>,
pub metadata: Option<HashMap<String, String>>,
pub output_modalities: Option<Vec<OutputModality>>,
pub prompt: Option<ResponsePrompt>,
pub tool_choice: Option<RealtimeToolChoiceConfig>,
pub tools: Option<Vec<RealtimeToolsConfig>>,
}Expand description
Parameters for creating a realtime response.
Fields§
§audio: Option<RealtimeResponseCreateAudioOutput>§conversation: Option<ResponseConversation>§input: Option<Vec<RealtimeConversationItem>>§instructions: Option<String>§max_output_tokens: Option<MaxOutputTokens>§metadata: Option<HashMap<String, String>>§output_modalities: Option<Vec<OutputModality>>§prompt: Option<ResponsePrompt>§tool_choice: Option<RealtimeToolChoiceConfig>§tools: Option<Vec<RealtimeToolsConfig>>Trait Implementations§
Source§impl Clone for RealtimeResponseCreateParams
impl Clone for RealtimeResponseCreateParams
Source§fn clone(&self) -> RealtimeResponseCreateParams
fn clone(&self) -> RealtimeResponseCreateParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RealtimeResponseCreateParams
impl Debug for RealtimeResponseCreateParams
Source§impl<'de> Deserialize<'de> for RealtimeResponseCreateParams
impl<'de> Deserialize<'de> for RealtimeResponseCreateParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'v_a> ValidateArgs<'v_a> for RealtimeResponseCreateParams
impl<'v_a> ValidateArgs<'v_a> for RealtimeResponseCreateParams
Auto Trait Implementations§
impl Freeze for RealtimeResponseCreateParams
impl RefUnwindSafe for RealtimeResponseCreateParams
impl Send for RealtimeResponseCreateParams
impl Sync for RealtimeResponseCreateParams
impl Unpin for RealtimeResponseCreateParams
impl UnsafeUnpin for RealtimeResponseCreateParams
impl UnwindSafe for RealtimeResponseCreateParams
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