pub struct FallbackVapiVoice {
pub caching_enabled: Option<bool>,
pub provider: ProviderTrue,
pub voice_id: VoiceIdTrue,
pub speed: Option<f64>,
pub chunk_plan: Option<ChunkPlan>,
}
Fields§
§caching_enabled: Option<bool>
This is the flag to toggle voice caching for the assistant.
provider: ProviderTrue
This is the voice provider that will be used.
voice_id: VoiceIdTrue
The voices provided by Vapi
speed: Option<f64>
This is the speed multiplier that will be used. @default 1
chunk_plan: Option<ChunkPlan>
This is the plan for chunking the model output before it is sent to the voice provider.
Implementations§
Source§impl FallbackVapiVoice
impl FallbackVapiVoice
pub fn new(provider: ProviderTrue, voice_id: VoiceIdTrue) -> FallbackVapiVoice
Trait Implementations§
Source§impl Clone for FallbackVapiVoice
impl Clone for FallbackVapiVoice
Source§fn clone(&self) -> FallbackVapiVoice
fn clone(&self) -> FallbackVapiVoice
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 FallbackVapiVoice
impl Debug for FallbackVapiVoice
Source§impl Default for FallbackVapiVoice
impl Default for FallbackVapiVoice
Source§fn default() -> FallbackVapiVoice
fn default() -> FallbackVapiVoice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackVapiVoice
impl<'de> Deserialize<'de> for FallbackVapiVoice
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 FallbackVapiVoice
impl PartialEq for FallbackVapiVoice
Source§impl Serialize for FallbackVapiVoice
impl Serialize for FallbackVapiVoice
impl StructuralPartialEq for FallbackVapiVoice
Auto Trait Implementations§
impl Freeze for FallbackVapiVoice
impl RefUnwindSafe for FallbackVapiVoice
impl Send for FallbackVapiVoice
impl Sync for FallbackVapiVoice
impl Unpin for FallbackVapiVoice
impl UnwindSafe for FallbackVapiVoice
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