Struct groq_api_rust::SpeechToTextRequest
source · pub struct SpeechToTextRequest {
pub file: Vec<u8>,
pub model: Option<String>,
pub temperature: Option<f64>,
pub language: Option<String>,
pub english_text: bool,
}
Fields§
§file: Vec<u8>
§model: Option<String>
§temperature: Option<f64>
§language: Option<String>
§english_text: bool
Implementations§
Trait Implementations§
source§impl Clone for SpeechToTextRequest
impl Clone for SpeechToTextRequest
source§fn clone(&self) -> SpeechToTextRequest
fn clone(&self) -> SpeechToTextRequest
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for SpeechToTextRequest
impl RefUnwindSafe for SpeechToTextRequest
impl Send for SpeechToTextRequest
impl Sync for SpeechToTextRequest
impl Unpin for SpeechToTextRequest
impl UnwindSafe for SpeechToTextRequest
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)