pub struct Endpoint {
pub url: String,
pub api_key: Option<String>,
pub model: String,
pub provider: Provider,
}Expand description
Where and how to reach a transcription server.
Fields§
§url: StringFull URL to POST the multipart form to.
api_key: Option<String>Bearer token, if the backend requires auth.
model: StringModel id sent as the model form field.
provider: ProviderProvenance tag recorded on the transcript.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
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