pub struct ResponseCreateWsRequest<'a> {Show 17 fields
pub model: &'a str,
pub instructions: &'a str,
pub previous_response_id: Option<String>,
pub input: &'a [ResponseItem],
pub tools: Option<&'a [Value]>,
pub tool_choice: &'a str,
pub parallel_tool_calls: bool,
pub reasoning: Option<&'a Reasoning>,
pub store: bool,
pub stream: bool,
pub stream_options: Option<&'a StreamOptions>,
pub include: &'a [String],
pub service_tier: Option<&'a str>,
pub prompt_cache_key: Option<&'a str>,
pub text: Option<&'a TextControls>,
pub generate: Option<bool>,
pub client_metadata: Option<HashMap<String, String>>,
}Fields§
§model: &'a str§instructions: &'a str§previous_response_id: Option<String>§input: &'a [ResponseItem]§tools: Option<&'a [Value]>§tool_choice: &'a str§parallel_tool_calls: bool§reasoning: Option<&'a Reasoning>§store: bool§stream: bool§stream_options: Option<&'a StreamOptions>§include: &'a [String]§service_tier: Option<&'a str>§prompt_cache_key: Option<&'a str>§text: Option<&'a TextControls>§generate: Option<bool>§client_metadata: Option<HashMap<String, String>>Trait Implementations§
Source§impl<'a> Debug for ResponseCreateWsRequest<'a>
impl<'a> Debug for ResponseCreateWsRequest<'a>
Source§impl<'a> From<&'a ResponsesApiRequest> for ResponseCreateWsRequest<'a>
impl<'a> From<&'a ResponsesApiRequest> for ResponseCreateWsRequest<'a>
Source§fn from(request: &'a ResponsesApiRequest) -> Self
fn from(request: &'a ResponsesApiRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for ResponseCreateWsRequest<'a>
impl<'a> RefUnwindSafe for ResponseCreateWsRequest<'a>
impl<'a> Send for ResponseCreateWsRequest<'a>
impl<'a> Sync for ResponseCreateWsRequest<'a>
impl<'a> Unpin for ResponseCreateWsRequest<'a>
impl<'a> UnsafeUnpin for ResponseCreateWsRequest<'a>
impl<'a> UnwindSafe for ResponseCreateWsRequest<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more