pub struct VapiVoice {
pub provider: Provider,
pub voice_id: VoiceId,
pub chunk_plan: Option<Box<ChunkPlan>>,
pub fallback_plan: Option<Box<FallbackPlan>>,
}Fields§
§provider: ProviderThis is the voice provider that will be used.
voice_id: VoiceIdThe voices provided by Vapi
chunk_plan: Option<Box<ChunkPlan>>This is the plan for chunking the model output before it is sent to the voice provider.
fallback_plan: Option<Box<FallbackPlan>>This is the plan for voice provider fallbacks in the event that the primary voice provider fails.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VapiVoice
impl<'de> Deserialize<'de> for VapiVoice
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
impl StructuralPartialEq for VapiVoice
Auto Trait Implementations§
impl Freeze for VapiVoice
impl RefUnwindSafe for VapiVoice
impl Send for VapiVoice
impl Sync for VapiVoice
impl Unpin for VapiVoice
impl UnwindSafe for VapiVoice
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