mirror of
https://github.com/mii443/ncb-tts-r2.git
synced 2025-08-22 16:15:29 +00:00
15 lines
305 B
Rust
15 lines
305 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
/// Example:
|
|
/// ```rust
|
|
/// SynthesisInput {
|
|
/// text: None,
|
|
/// ssml: Some(String::from("<speak>test</speak>"))
|
|
/// }
|
|
/// ```
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
pub struct SynthesisInput {
|
|
pub text: Option<String>,
|
|
pub ssml: Option<String>,
|
|
}
|