pub struct OutputTokenDetails {
pub reasoning_tokens: u32,
}Available on crate feature
response-types and (crate features response-types or batch-types) and (crate features response-types or video-types or vectorstore-types or chat-completion-types or assistant-types or batch-types or audio-types or realtime-types or image-types) only.Fields§
§reasoning_tokens: u32The number of reasoning tokens.
Trait Implementations§
Source§impl Clone for OutputTokenDetails
impl Clone for OutputTokenDetails
Source§fn clone(&self) -> OutputTokenDetails
fn clone(&self) -> OutputTokenDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutputTokenDetails
impl Debug for OutputTokenDetails
Source§impl<'de> Deserialize<'de> for OutputTokenDetails
impl<'de> Deserialize<'de> for OutputTokenDetails
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 OutputTokenDetails
impl PartialEq for OutputTokenDetails
Source§fn eq(&self, other: &OutputTokenDetails) -> bool
fn eq(&self, other: &OutputTokenDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutputTokenDetails
impl Serialize for OutputTokenDetails
impl StructuralPartialEq for OutputTokenDetails
Auto Trait Implementations§
impl Freeze for OutputTokenDetails
impl RefUnwindSafe for OutputTokenDetails
impl Send for OutputTokenDetails
impl Sync for OutputTokenDetails
impl Unpin for OutputTokenDetails
impl UnsafeUnpin for OutputTokenDetails
impl UnwindSafe for OutputTokenDetails
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