pub struct CodexAsrClient { /* private fields */ }Implementations§
Source§impl CodexAsrClient
impl CodexAsrClient
pub fn builder(auth: CodexAuth) -> CodexAsrClientBuilder
pub fn from_codex_home() -> Result<Self>
pub fn transcribe_file( &self, path: impl AsRef<Path>, options: TranscribeOptions, ) -> Result<Transcription>
pub fn transcribe_bytes( &self, audio: Vec<u8>, filename: &str, content_type: &str, language: Option<String>, ) -> Result<Transcription>
Trait Implementations§
Source§impl Clone for CodexAsrClient
impl Clone for CodexAsrClient
Source§fn clone(&self) -> CodexAsrClient
fn clone(&self) -> CodexAsrClient
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 moreAuto Trait Implementations§
impl Freeze for CodexAsrClient
impl !RefUnwindSafe for CodexAsrClient
impl Send for CodexAsrClient
impl Sync for CodexAsrClient
impl Unpin for CodexAsrClient
impl UnsafeUnpin for CodexAsrClient
impl !UnwindSafe for CodexAsrClient
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