pub struct TtsOptions {
pub model: Option<String>,
pub provider: Option<String>,
pub voice: Option<String>,
pub voice_id: Option<String>,
pub language: Option<String>,
pub instructions: Option<String>,
pub params: Value,
}Fields§
§model: Option<String>§provider: Option<String>§voice: Option<String>§voice_id: Option<String>§language: Option<String>§instructions: Option<String>§params: ValueTrait Implementations§
Source§impl Clone for TtsOptions
impl Clone for TtsOptions
Source§fn clone(&self) -> TtsOptions
fn clone(&self) -> TtsOptions
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§impl Debug for TtsOptions
impl Debug for TtsOptions
Source§impl Default for TtsOptions
impl Default for TtsOptions
Source§fn default() -> TtsOptions
fn default() -> TtsOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TtsOptions
impl<'de> Deserialize<'de> for TtsOptions
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 TtsOptions
impl RefUnwindSafe for TtsOptions
impl Send for TtsOptions
impl Sync for TtsOptions
impl Unpin for TtsOptions
impl UnsafeUnpin for TtsOptions
impl UnwindSafe for TtsOptions
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