pub struct VapiVoicemailDetectionPlan {
pub beep_max_await_seconds: Option<f64>,
pub provider: ProviderTrue,
pub backoff_plan: Option<VoicemailDetectionBackoffPlan>,
}
Fields§
§beep_max_await_seconds: Option<f64>
This is the maximum duration from the start of the call that we will wait for a voicemail beep, before speaking our message - If we detect a voicemail beep before this, we will speak the message at that point. - Setting too low a value means that the bot will start speaking its voicemail message too early. If it does so before the actual beep, it will get cut off. You should definitely tune this to your use case. @default 30 @min 0 @max 60
provider: ProviderTrue
This is the provider to use for voicemail detection.
backoff_plan: Option<VoicemailDetectionBackoffPlan>
This is the backoff plan for the voicemail detection.
Implementations§
Source§impl VapiVoicemailDetectionPlan
impl VapiVoicemailDetectionPlan
pub fn new(provider: ProviderTrue) -> VapiVoicemailDetectionPlan
Trait Implementations§
Source§impl Clone for VapiVoicemailDetectionPlan
impl Clone for VapiVoicemailDetectionPlan
Source§fn clone(&self) -> VapiVoicemailDetectionPlan
fn clone(&self) -> VapiVoicemailDetectionPlan
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 VapiVoicemailDetectionPlan
impl Debug for VapiVoicemailDetectionPlan
Source§impl Default for VapiVoicemailDetectionPlan
impl Default for VapiVoicemailDetectionPlan
Source§fn default() -> VapiVoicemailDetectionPlan
fn default() -> VapiVoicemailDetectionPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VapiVoicemailDetectionPlan
impl<'de> Deserialize<'de> for VapiVoicemailDetectionPlan
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 VapiVoicemailDetectionPlan
Auto Trait Implementations§
impl Freeze for VapiVoicemailDetectionPlan
impl RefUnwindSafe for VapiVoicemailDetectionPlan
impl Send for VapiVoicemailDetectionPlan
impl Sync for VapiVoicemailDetectionPlan
impl Unpin for VapiVoicemailDetectionPlan
impl UnwindSafe for VapiVoicemailDetectionPlan
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