pub struct UsageInputTokenDetails {
pub audio_tokens: Option<i64>,
pub text_tokens: Option<i64>,
}Expand description
Details about the input tokens billed for this request.
Fields§
§audio_tokens: Option<i64>Number of audio tokens billed for this request.
text_tokens: Option<i64>Number of text tokens billed for this request.
Trait Implementations§
Source§impl Clone for UsageInputTokenDetails
impl Clone for UsageInputTokenDetails
Source§fn clone(&self) -> UsageInputTokenDetails
fn clone(&self) -> UsageInputTokenDetails
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 UsageInputTokenDetails
impl Debug for UsageInputTokenDetails
Source§impl<'de> Deserialize<'de> for UsageInputTokenDetails
impl<'de> Deserialize<'de> for UsageInputTokenDetails
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 UsageInputTokenDetails
impl RefUnwindSafe for UsageInputTokenDetails
impl Send for UsageInputTokenDetails
impl Sync for UsageInputTokenDetails
impl Unpin for UsageInputTokenDetails
impl UnsafeUnpin for UsageInputTokenDetails
impl UnwindSafe for UsageInputTokenDetails
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