pub struct OfflineTtsConfig {
pub model: String,
pub rule_fars: String,
pub rule_fsts: String,
pub max_num_sentences: i32,
pub num_threads: Option<i32>,
pub debug: bool,
pub provider: Option<String>,
}
Fields§
§model: String
§rule_fars: String
§rule_fsts: String
§max_num_sentences: i32
§num_threads: Option<i32>
§debug: bool
§provider: Option<String>
Trait Implementations§
Source§impl Debug for OfflineTtsConfig
impl Debug for OfflineTtsConfig
Auto Trait Implementations§
impl Freeze for OfflineTtsConfig
impl RefUnwindSafe for OfflineTtsConfig
impl Send for OfflineTtsConfig
impl Sync for OfflineTtsConfig
impl Unpin for OfflineTtsConfig
impl UnwindSafe for OfflineTtsConfig
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