pub enum MaxOutputTokens {
Integer(i64),
Inf,
}
Expand description
Maximum number of output tokens for a single assistant response, inclusive of tool calls, that was used in this response.
Variants§
Trait Implementations§
Source§impl Clone for MaxOutputTokens
impl Clone for MaxOutputTokens
Source§fn clone(&self) -> MaxOutputTokens
fn clone(&self) -> MaxOutputTokens
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 MaxOutputTokens
impl Debug for MaxOutputTokens
Source§impl<'de> Deserialize<'de> for MaxOutputTokens
impl<'de> Deserialize<'de> for MaxOutputTokens
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 MaxOutputTokens
impl PartialEq for MaxOutputTokens
Source§impl Serialize for MaxOutputTokens
impl Serialize for MaxOutputTokens
impl Copy for MaxOutputTokens
impl StructuralPartialEq for MaxOutputTokens
Auto Trait Implementations§
impl Freeze for MaxOutputTokens
impl RefUnwindSafe for MaxOutputTokens
impl Send for MaxOutputTokens
impl Sync for MaxOutputTokens
impl Unpin for MaxOutputTokens
impl UnwindSafe for MaxOutputTokens
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