pub struct SpeechUsage {
pub audio_millis: u64,
pub characters: u64,
}Expand description
What one speech call cost, in the provider’s own billing units: milliseconds transcribed, characters synthesised.
Fields§
§audio_millis: u64§characters: u64Implementations§
Source§impl SpeechUsage
impl SpeechUsage
pub const fn transcribed(audio_millis: u64) -> Self
pub const fn synthesised(characters: u64) -> Self
Trait Implementations§
Source§impl Clone for SpeechUsage
impl Clone for SpeechUsage
impl Copy for SpeechUsage
Source§impl Debug for SpeechUsage
impl Debug for SpeechUsage
Source§impl Default for SpeechUsage
impl Default for SpeechUsage
impl Eq for SpeechUsage
Source§impl PartialEq for SpeechUsage
impl PartialEq for SpeechUsage
impl StructuralPartialEq for SpeechUsage
Auto Trait Implementations§
impl Freeze for SpeechUsage
impl RefUnwindSafe for SpeechUsage
impl Send for SpeechUsage
impl Sync for SpeechUsage
impl Unpin for SpeechUsage
impl UnsafeUnpin for SpeechUsage
impl UnwindSafe for SpeechUsage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.