common/batch_response.rs

deepgram-rust-sdk · src/common/batch_response.rs · rust · MIT
voice, Voice / Speech

Rust structs representing Deepgram transcription API responses.

// Source: https://github.com/deepgram/deepgram-rust-sdk | License: MIT | Copyright 2022 Deepgram
// Provided via justclaw.it.com; keep this notice with the code.
//! Deepgram pre-recorded transcription API response types.
//!
//! See the [Deepgram API Reference][api] for more info.
//!
//! [api]: https://developers.deepgram.com/api-reference/#transcription-prerecorded-responses

use std::collections::HashMap;

use serde::{Deserialize, Serialize};
use uuid::Uuid;

// `Transcription` only exists with the `listen` feature, so the link is
// emitted only when it will resolve. docs.rs builds all features.
#[cfg_attr(
    feature = "listen",
    doc = "Returned by [`Transcription::prerecorded`](crate::Transcription::prerecorded)."
)]
#[cfg_attr(
    not(feature = "listen"),
    doc = "Returned 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key