Skip to main content

TranscriptionEndpoint

Trait TranscriptionEndpoint 

pub trait TranscriptionEndpoint {
    // Required method
    fn uri(&self) -> &'static str;
}
Expand description

Trait that every transcription endpoint enum implements. Mirrors ModelEndpoint / TtsEndpoint for parity.

Required Methods§

Source

fn uri(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§