#[non_exhaustive]pub struct RealtimeResponseCreateParams {Show 13 fields
pub audio: Option<Option<RealtimeResponseCreateAudioOutput>>,
pub conversation: Option<Option<String>>,
pub input: Option<Option<Vec<ConversationItem>>>,
pub instructions: Option<Option<String>>,
pub max_output_tokens: Option<Option<RealtimeResponseCreateParamsMaxOutputTokens>>,
pub metadata: Option<Option<Metadata>>,
pub output_modalities: Option<Option<Vec<RealtimeResponseCreateParamsOutputModalitiesItem>>>,
pub parallel_tool_calls: Option<Option<bool>>,
pub prompt: Option<Option<ResponsePrompt>>,
pub reasoning: Option<Option<RealtimeReasoning>>,
pub tool_choice: Option<Option<RealtimeResponseCreateParamsToolChoice>>,
pub tools: Option<Option<Vec<RealtimeResponseCreateParamsTool>>>,
pub rest: Rest,
}Expand description
Source: openai/types/realtime/realtime_response_create_params.py, RealtimeResponseCreateParams.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.audio: Option<Option<RealtimeResponseCreateAudioOutput>>§conversation: Option<Option<String>>§input: Option<Option<Vec<ConversationItem>>>§instructions: Option<Option<String>>§max_output_tokens: Option<Option<RealtimeResponseCreateParamsMaxOutputTokens>>§metadata: Option<Option<Metadata>>§output_modalities: Option<Option<Vec<RealtimeResponseCreateParamsOutputModalitiesItem>>>§parallel_tool_calls: Option<Option<bool>>§prompt: Option<Option<ResponsePrompt>>§reasoning: Option<Option<RealtimeReasoning>>§tool_choice: Option<Option<RealtimeResponseCreateParamsToolChoice>>§tools: Option<Option<Vec<RealtimeResponseCreateParamsTool>>>§rest: RestImplementations§
Source§impl RealtimeResponseCreateParams
impl RealtimeResponseCreateParams
Sourcepub fn builder() -> RealtimeResponseCreateParamsBuilder
pub fn builder() -> RealtimeResponseCreateParamsBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for RealtimeResponseCreateParams
impl Clone for RealtimeResponseCreateParams
Source§impl Debug for RealtimeResponseCreateParams
impl Debug for RealtimeResponseCreateParams
Source§impl DeclaredFields for RealtimeResponseCreateParams
impl DeclaredFields for RealtimeResponseCreateParams
fn into_declared(self) -> Self
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
impl StructuralPartialEq 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