Files
ncb-tts-r2/src/tts/gcp_tts/structs/synthesis_input.rs
2022-10-31 12:40:55 +00:00

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>,
}