pub enum RealtimeResponseCreateParamsMaxResponseOutputTokens {
Integer(i64),
Inf,
}
Expand description
Maximum number of output tokens for a single assistant response,
inclusive of tool calls. Provide an integer between 1 and 4096 to
limit output tokens, or inf
for the maximum available tokens for a
given model. Defaults to inf
.
Variants§
Trait Implementations§
Source§impl Clone for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl Clone for RealtimeResponseCreateParamsMaxResponseOutputTokens
Source§fn clone(&self) -> RealtimeResponseCreateParamsMaxResponseOutputTokens
fn clone(&self) -> RealtimeResponseCreateParamsMaxResponseOutputTokens
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl<'de> Deserialize<'de> for RealtimeResponseCreateParamsMaxResponseOutputTokens
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 PartialEq for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl PartialEq for RealtimeResponseCreateParamsMaxResponseOutputTokens
Source§fn eq(
&self,
other: &RealtimeResponseCreateParamsMaxResponseOutputTokens,
) -> bool
fn eq( &self, other: &RealtimeResponseCreateParamsMaxResponseOutputTokens, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl StructuralPartialEq for RealtimeResponseCreateParamsMaxResponseOutputTokens
Auto Trait Implementations§
impl Freeze for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl RefUnwindSafe for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl Send for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl Sync for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl Unpin for RealtimeResponseCreateParamsMaxResponseOutputTokens
impl UnwindSafe for RealtimeResponseCreateParamsMaxResponseOutputTokens
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