pub struct SharedVoice {Show 14 fields
pub public_owner_id: String,
pub voice_id: String,
pub name: String,
pub category: Option<String>,
pub description: Option<String>,
pub preview_url: Option<String>,
pub gender: Option<String>,
pub age: Option<String>,
pub accent: Option<String>,
pub language: Option<String>,
pub use_case: Option<String>,
pub rate: Option<f64>,
pub cloned_by_count: Option<i64>,
pub free_users_allowed: Option<bool>,
}Expand description
A shared voice from the voice library.
Fields§
§public_owner_id: StringOwner’s public identifier.
voice_id: StringVoice identifier.
name: StringVoice display name.
category: Option<String>Voice category (e.g. “professional”, “generated”).
description: Option<String>Voice description.
preview_url: Option<String>Preview audio URL.
gender: Option<String>Voice gender.
age: Option<String>Perceived age range.
accent: Option<String>Accent (e.g. “british”, “american”).
language: Option<String>Primary language.
use_case: Option<String>Intended use case (e.g. “narration”, “conversational”).
rate: Option<f64>Average rating.
cloned_by_count: Option<i64>Number of times this voice has been cloned.
free_users_allowed: Option<bool>Whether free-tier users can use this voice.
Trait Implementations§
Source§fn clone(&self) -> SharedVoice
fn clone(&self) -> SharedVoice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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§
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