pub struct SttResponse {
pub text: String,
pub model: String,
pub cost_ticks: i64,
pub request_id: String,
}Expand description
Response from speech-to-text.
Fields§
§text: StringTranscribed text.
model: StringModel that performed transcription.
cost_ticks: i64Total cost in ticks.
request_id: StringUnique request identifier.
Trait Implementations§
Source§impl Clone for SttResponse
impl Clone for SttResponse
Source§fn clone(&self) -> SttResponse
fn clone(&self) -> SttResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 SttResponse
impl Debug for SttResponse
Source§impl<'de> Deserialize<'de> for SttResponse
impl<'de> Deserialize<'de> for SttResponse
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 SttResponse
impl RefUnwindSafe for SttResponse
impl Send for SttResponse
impl Sync for SttResponse
impl Unpin for SttResponse
impl UnsafeUnpin for SttResponse
impl UnwindSafe for SttResponse
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