pub struct TtsSection {
pub provider: String,
pub model: String,
pub voice: String,
pub language: String,
pub max_chars: usize,
pub timeout_ms: u64,
pub pack_dir: Option<String>,
pub allow_unverified: bool,
pub custom_models: Vec<CustomTtsModelConfig>,
}Expand description
Local TTS defaults ([tts]).
Fields§
§provider: StringOnly local in MVP.
model: String§voice: String§language: String§max_chars: usize§timeout_ms: u64§pack_dir: Option<String>Optional default local model-pack directory (JOE-1619). CLI --pack-dir
overrides this. Never shadows built-in catalogue cache identity.
allow_unverified: boolAllow local_unverified packs when pack_dir / CLI pack is used.
custom_models: Vec<CustomTtsModelConfig>Custom catalogue entries for supported adapters (JOE-1620).
Trait Implementations§
Source§impl Clone for TtsSection
impl Clone for TtsSection
Source§fn clone(&self) -> TtsSection
fn clone(&self) -> TtsSection
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 TtsSection
impl Debug for TtsSection
Source§impl Default for TtsSection
impl Default for TtsSection
Source§impl<'de> Deserialize<'de> for TtsSection
impl<'de> Deserialize<'de> for TtsSection
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 TtsSection
impl RefUnwindSafe for TtsSection
impl Send for TtsSection
impl Sync for TtsSection
impl Unpin for TtsSection
impl UnsafeUnpin for TtsSection
impl UnwindSafe for TtsSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more