pub struct FallbackSmallestAiVoice {
pub provider: Provider,
pub voice_id: SmallestAiVoiceVoiceId,
pub model: Option<Model>,
pub speed: Option<f64>,
pub chunk_plan: Option<ChunkPlan>,
}Fields§
§provider: ProviderThis is the voice provider that will be used.
voice_id: SmallestAiVoiceVoiceId§model: Option<Model>Smallest AI voice model to use. Defaults to ‘lightning’ when not specified.
speed: Option<f64>This is the speed multiplier that will be used.
chunk_plan: Option<ChunkPlan>This is the plan for chunking the model output before it is sent to the voice provider.
Implementations§
Source§impl FallbackSmallestAiVoice
impl FallbackSmallestAiVoice
pub fn new( provider: Provider, voice_id: SmallestAiVoiceVoiceId, ) -> FallbackSmallestAiVoice
Trait Implementations§
Source§impl Clone for FallbackSmallestAiVoice
impl Clone for FallbackSmallestAiVoice
Source§fn clone(&self) -> FallbackSmallestAiVoice
fn clone(&self) -> FallbackSmallestAiVoice
Returns a copy 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 ComposeSchema for FallbackSmallestAiVoice
impl ComposeSchema for FallbackSmallestAiVoice
Source§impl Debug for FallbackSmallestAiVoice
impl Debug for FallbackSmallestAiVoice
Source§impl Default for FallbackSmallestAiVoice
impl Default for FallbackSmallestAiVoice
Source§fn default() -> FallbackSmallestAiVoice
fn default() -> FallbackSmallestAiVoice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackSmallestAiVoice
impl<'de> Deserialize<'de> for FallbackSmallestAiVoice
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
Source§impl PartialEq for FallbackSmallestAiVoice
impl PartialEq for FallbackSmallestAiVoice
Source§impl Serialize for FallbackSmallestAiVoice
impl Serialize for FallbackSmallestAiVoice
Source§impl ToSchema for FallbackSmallestAiVoice
impl ToSchema for FallbackSmallestAiVoice
impl StructuralPartialEq for FallbackSmallestAiVoice
Auto Trait Implementations§
impl Freeze for FallbackSmallestAiVoice
impl RefUnwindSafe for FallbackSmallestAiVoice
impl Send for FallbackSmallestAiVoice
impl Sync for FallbackSmallestAiVoice
impl Unpin for FallbackSmallestAiVoice
impl UnwindSafe for FallbackSmallestAiVoice
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