pub struct RealtimeResponseUsageOutputTokenDetails {
pub audio_tokens: Option<i32>,
pub text_tokens: Option<i32>,
}
Fields§
§audio_tokens: Option<i32>
The number of audio tokens used in the Response.
text_tokens: Option<i32>
The number of text tokens used in the Response.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeResponseUsageOutputTokenDetails
impl<'de> Deserialize<'de> for RealtimeResponseUsageOutputTokenDetails
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 RealtimeResponseUsageOutputTokenDetails
impl RefUnwindSafe for RealtimeResponseUsageOutputTokenDetails
impl Send for RealtimeResponseUsageOutputTokenDetails
impl Sync for RealtimeResponseUsageOutputTokenDetails
impl Unpin for RealtimeResponseUsageOutputTokenDetails
impl UnwindSafe for RealtimeResponseUsageOutputTokenDetails
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