pub struct TranscriptTextUsageTokens {
pub input_tokens: u32,
pub output_tokens: u32,
pub total_tokens: u32,
pub input_token_details: Option<TokenUsageInputTokenDetails>,
}Available on crate feature
audio-types only.Fields§
§input_tokens: u32Number of input tokens billed for this request.
output_tokens: u32Number of output tokens generated.
total_tokens: u32Total number of tokens used (input + output).
input_token_details: Option<TokenUsageInputTokenDetails>Details about the input tokens billed for this request.
Trait Implementations§
Source§impl Clone for TranscriptTextUsageTokens
Available on (crate features audio-types or realtime-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.
impl Clone for TranscriptTextUsageTokens
Available on (crate features
audio-types or realtime-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.Source§fn clone(&self) -> TranscriptTextUsageTokens
fn clone(&self) -> TranscriptTextUsageTokens
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 TranscriptTextUsageTokens
Available on (crate features audio-types or realtime-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.
impl Debug for TranscriptTextUsageTokens
Available on (crate features
audio-types or realtime-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.Source§impl<'de> Deserialize<'de> for TranscriptTextUsageTokens
Available on (crate features audio-types or realtime-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.
impl<'de> Deserialize<'de> for TranscriptTextUsageTokens
Available on (crate features
audio-types or realtime-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.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 Serialize for TranscriptTextUsageTokens
Available on (crate features audio-types or realtime-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.
impl Serialize for TranscriptTextUsageTokens
Available on (crate features
audio-types or realtime-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.Auto Trait Implementations§
impl Freeze for TranscriptTextUsageTokens
impl RefUnwindSafe for TranscriptTextUsageTokens
impl Send for TranscriptTextUsageTokens
impl Sync for TranscriptTextUsageTokens
impl Unpin for TranscriptTextUsageTokens
impl UnwindSafe for TranscriptTextUsageTokens
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