pub struct UsageDuration {
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 UsageDuration
impl Clone for UsageDuration
Source§fn clone(&self) -> UsageDuration
fn clone(&self) -> UsageDuration
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 UsageDuration
impl Debug for UsageDuration
Source§impl<'de> Deserialize<'de> for UsageDuration
impl<'de> Deserialize<'de> for UsageDuration
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 UsageDuration
impl RefUnwindSafe for UsageDuration
impl Send for UsageDuration
impl Sync for UsageDuration
impl Unpin for UsageDuration
impl UnsafeUnpin for UsageDuration
impl UnwindSafe for UsageDuration
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