pub struct Voice {
pub id: String,
pub name: String,
pub language: String,
pub gender: Option<String>,
}Available on crate feature
audio only.Expand description
Descriptor for an available voice.
Fields§
§id: StringProvider-specific voice identifier.
name: StringHuman-readable voice name.
language: StringBCP-47 language code.
gender: Option<String>Optional gender label.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Voice
impl RefUnwindSafe for Voice
impl Send for Voice
impl Sync for Voice
impl Unpin for Voice
impl UnsafeUnpin for Voice
impl UnwindSafe for Voice
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