pub struct CartesiaTranscriber {
pub provider: ProviderTrue,
pub model: Option<ModelTrue>,
pub language: Option<LanguageTrue>,
pub fallback_plan: Option<FallbackTranscriberPlan>,
}
Fields§
§provider: ProviderTrue
§model: Option<ModelTrue>
§language: Option<LanguageTrue>
§fallback_plan: Option<FallbackTranscriberPlan>
This is the plan for voice provider fallbacks in the event that the primary voice provider fails.
Implementations§
Source§impl CartesiaTranscriber
impl CartesiaTranscriber
pub fn new(provider: ProviderTrue) -> CartesiaTranscriber
Trait Implementations§
Source§impl Clone for CartesiaTranscriber
impl Clone for CartesiaTranscriber
Source§fn clone(&self) -> CartesiaTranscriber
fn clone(&self) -> CartesiaTranscriber
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CartesiaTranscriber
impl Debug for CartesiaTranscriber
Source§impl Default for CartesiaTranscriber
impl Default for CartesiaTranscriber
Source§fn default() -> CartesiaTranscriber
fn default() -> CartesiaTranscriber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CartesiaTranscriber
impl<'de> Deserialize<'de> for CartesiaTranscriber
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 CartesiaTranscriber
impl PartialEq for CartesiaTranscriber
Source§impl Serialize for CartesiaTranscriber
impl Serialize for CartesiaTranscriber
impl StructuralPartialEq for CartesiaTranscriber
Auto Trait Implementations§
impl Freeze for CartesiaTranscriber
impl RefUnwindSafe for CartesiaTranscriber
impl Send for CartesiaTranscriber
impl Sync for CartesiaTranscriber
impl Unpin for CartesiaTranscriber
impl UnwindSafe for CartesiaTranscriber
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