pub struct VoiceInfo {
pub id: String,
pub name: String,
pub language: String,
}Expand description
Information about an available voice.
Fields§
§id: StringProvider-specific voice ID.
name: StringHuman-readable voice name.
language: StringPrimary language code (BCP-47).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VoiceInfo
impl RefUnwindSafe for VoiceInfo
impl Send for VoiceInfo
impl Sync for VoiceInfo
impl Unpin for VoiceInfo
impl UnsafeUnpin for VoiceInfo
impl UnwindSafe for VoiceInfo
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