manage/scopes.rs

deepgram-rust-sdk · src/manage/scopes.rs · rust · MIT
voice, Voice / Speech

Rust client module for managing Deepgram project scopes, providing get and update operations via async API calls.

// Source: https://github.com/deepgram/deepgram-rust-sdk | License: MIT | Copyright 2022 Deepgram
// Provided via justclaw.it.com; keep this notice with the code.
//! Manage the permissions of a Deepgram Project.
//!
//! See the [Deepgram API Reference][api] for more info.
//!
//! [api]: https://developers.deepgram.com/api-reference/#scopes

use serde::Serialize;
use url::Url;

use crate::{send_and_translate_response, Deepgram};

use response::Message;

pub mod response;

/// Manage the permissions of a Deepgram Project.
///
/// Constructed using [`Deepgram::scopes`].
///
/// See the [Deepgram API Reference][api] for more info.
///
/// [api]: https://developers.deepgram.com/api-reference/#scopes
#[derive(Debug, Clone)]
pub struct Scopes<'a>(&'a Deepgram);

impl Deepgram {
    /// Construct

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

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

Get a free API key