pub struct ResponseUsageOutputTokensDetails {
pub reasoning_tokens: i64,
}Expand description
A detailed breakdown of the output tokens.
JSON schema
{
"description": "A detailed breakdown of the output tokens.",
"type": "object",
"required": [
"reasoning_tokens"
],
"properties": {
"reasoning_tokens": {
"description": "The number of reasoning tokens.",
"type": "integer"
}
}
}Fields§
§reasoning_tokens: i64The number of reasoning tokens.
Trait Implementations§
Source§impl Clone for ResponseUsageOutputTokensDetails
impl Clone for ResponseUsageOutputTokensDetails
Source§fn clone(&self) -> ResponseUsageOutputTokensDetails
fn clone(&self) -> ResponseUsageOutputTokensDetails
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<'de> Deserialize<'de> for ResponseUsageOutputTokensDetails
impl<'de> Deserialize<'de> for ResponseUsageOutputTokensDetails
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
Auto Trait Implementations§
impl Freeze for ResponseUsageOutputTokensDetails
impl RefUnwindSafe for ResponseUsageOutputTokensDetails
impl Send for ResponseUsageOutputTokensDetails
impl Sync for ResponseUsageOutputTokensDetails
impl Unpin for ResponseUsageOutputTokensDetails
impl UnsafeUnpin for ResponseUsageOutputTokensDetails
impl UnwindSafe for ResponseUsageOutputTokensDetails
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