Skip to content

Commit

Permalink
Change order of pub and use
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienDeepgram committed Jul 23, 2024
1 parent 038d3d3 commit ad2242d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/manage/invitations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#invitations
pub mod response;

use crate::{send_and_translate_response, Deepgram};

use response::Message;

pub mod response;

/// Manage the invitations to a Deepgram Project.
///
/// Constructed using [`Deepgram::invitations`].
Expand Down
6 changes: 3 additions & 3 deletions src/manage/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#keys
pub mod options;
pub mod response;

use crate::{
manage::keys::{
options::{Options, SerializableOptions},
Expand All @@ -17,6 +14,9 @@ use crate::{

use response::Message;

pub mod options;
pub mod response;

/// Manage the keys for a Deepgram Project.
///
/// Constructed using [`Deepgram::keys`].
Expand Down
4 changes: 2 additions & 2 deletions src/manage/members.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#members
pub mod response;

use crate::{send_and_translate_response, Deepgram};

use response::Message;

pub mod response;

/// Manage the members of a Deepgram Project.
///
/// Constructed using [`Deepgram::members`].
Expand Down
6 changes: 3 additions & 3 deletions src/manage/projects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#projects
pub mod options;
pub mod response;

use crate::{send_and_translate_response, Deepgram};

use options::{Options, SerializableOptions};

use response::{Message, Project};

pub mod options;
pub mod response;

/// Manage Deepgram Projects.
///
/// Constructed using [`Deepgram::projects`].
Expand Down
4 changes: 2 additions & 2 deletions src/manage/scopes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#scopes
pub mod response;

use serde::Serialize;

use crate::{send_and_translate_response, Deepgram};

use response::Message;

pub mod response;

/// Manage the permissions of a Deepgram Project.
///
/// Constructed using [`Deepgram::scopes`].
Expand Down
8 changes: 4 additions & 4 deletions src/manage/usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#usage
use response::{Fields, Request, Requests, UsageSummary};

use crate::{send_and_translate_response, Deepgram};

pub mod get_fields_options;
pub mod get_usage_options;
pub mod list_requests_options;
pub mod response;

use response::{Fields, Request, Requests, UsageSummary};

use crate::{send_and_translate_response, Deepgram};

/// Get the usage data of a Deepgram Project.
///
/// Constructed using [`Deepgram::usage`].
Expand Down

0 comments on commit ad2242d

Please sign in to comment.