pub struct UsageTranscriptTextUsageDuration {
pub seconds: f64,
pub type_: String,
}Expand description
Usage statistics for models billed by audio input duration.
Fields§
§seconds: f64Duration of the input audio in seconds.
type_: StringThe type of the usage object. Always duration for this variant.
Trait Implementations§
Source§impl Clone for UsageTranscriptTextUsageDuration
impl Clone for UsageTranscriptTextUsageDuration
Source§fn clone(&self) -> UsageTranscriptTextUsageDuration
fn clone(&self) -> UsageTranscriptTextUsageDuration
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 UsageTranscriptTextUsageDuration
impl<'de> Deserialize<'de> for UsageTranscriptTextUsageDuration
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 UsageTranscriptTextUsageDuration
impl RefUnwindSafe for UsageTranscriptTextUsageDuration
impl Send for UsageTranscriptTextUsageDuration
impl Sync for UsageTranscriptTextUsageDuration
impl Unpin for UsageTranscriptTextUsageDuration
impl UnsafeUnpin for UsageTranscriptTextUsageDuration
impl UnwindSafe for UsageTranscriptTextUsageDuration
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