pub struct OutputTokenDetails {
pub audio: Option<i64>,
pub reasoning: Option<i64>,
}Expand description
Breakdown of output token counts.
Does not need to sum to full output token count. Does not need to have all keys.
Fields§
§audio: Option<i64>Audio output tokens.
reasoning: Option<i64>Reasoning output 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 · 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 Default for OutputTokenDetails
impl Default for OutputTokenDetails
Source§fn default() -> OutputTokenDetails
fn default() -> OutputTokenDetails
Returns the “default value” for a type. Read more
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§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 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