pub struct RecommendedVoice {
pub voice_id: String,
pub voice_name: String,
pub score: f64,
}Expand description
Voice recommendation result.
Recommendation results only include the matched voice ID, voice name, and
similarity score. Use get_voice_v2 or get_voices_v2 to fetch detailed
voice metadata for a returned voice_id.
Fields§
§voice_id: StringUnique voice identifier
voice_name: StringHuman-readable name of the voice
score: f64Similarity score for the text query
Trait Implementations§
Source§impl Clone for RecommendedVoice
impl Clone for RecommendedVoice
Source§fn clone(&self) -> RecommendedVoice
fn clone(&self) -> RecommendedVoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecommendedVoice
impl Debug for RecommendedVoice
Source§impl<'de> Deserialize<'de> for RecommendedVoice
impl<'de> Deserialize<'de> for RecommendedVoice
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 RecommendedVoice
impl RefUnwindSafe for RecommendedVoice
impl Send for RecommendedVoice
impl Sync for RecommendedVoice
impl Unpin for RecommendedVoice
impl UnsafeUnpin for RecommendedVoice
impl UnwindSafe for RecommendedVoice
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