mirror of
https://github.com/mii443/ncb-tts-r2.git
synced 2025-08-22 16:15:29 +00:00
18 lines
450 B
Rust
18 lines
450 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
/// Example:
|
|
/// ```rust
|
|
/// VoiceSelectionParams {
|
|
/// languageCode: String::from("ja-JP"),
|
|
/// name: String::from("ja-JP-Wavenet-B"),
|
|
/// ssmlGender: String::from("neutral")
|
|
/// }
|
|
/// ```
|
|
#[derive(Clone, Serialize, Deserialize, Debug, PartialEq, Eq, Hash)]
|
|
#[allow(non_snake_case)]
|
|
pub struct VoiceSelectionParams {
|
|
pub languageCode: String,
|
|
pub name: String,
|
|
pub ssmlGender: String,
|
|
}
|