pub struct VoiceV2 {
pub voice_id: String,
pub voice_name: String,
pub models: Vec<ModelInfo>,
pub gender: Option<Gender>,
pub age: Option<Age>,
pub use_cases: Option<Vec<String>>,
}Expand description
Voice from V2 API with enhanced metadata
Fields§
§voice_id: StringUnique voice identifier
voice_name: StringHuman-readable name of the voice
models: Vec<ModelInfo>List of supported TTS models with their emotions
gender: Option<Gender>Voice gender classification
age: Option<Age>Voice age group classification
use_cases: Option<Vec<String>>List of use case categories
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VoiceV2
impl<'de> Deserialize<'de> for VoiceV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VoiceV2
impl RefUnwindSafe for VoiceV2
impl Send for VoiceV2
impl Sync for VoiceV2
impl Unpin for VoiceV2
impl UnsafeUnpin for VoiceV2
impl UnwindSafe for VoiceV2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more