pub struct GoogleVoicemailDetectionPlan {
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 GoogleVoicemailDetectionPlan
impl GoogleVoicemailDetectionPlan
pub fn new(provider: ProviderTrue) -> GoogleVoicemailDetectionPlan
Trait Implementations§
Source§impl Clone for GoogleVoicemailDetectionPlan
impl Clone for GoogleVoicemailDetectionPlan
Source§fn clone(&self) -> GoogleVoicemailDetectionPlan
fn clone(&self) -> GoogleVoicemailDetectionPlan
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 GoogleVoicemailDetectionPlan
impl Debug for GoogleVoicemailDetectionPlan
Source§impl Default for GoogleVoicemailDetectionPlan
impl Default for GoogleVoicemailDetectionPlan
Source§fn default() -> GoogleVoicemailDetectionPlan
fn default() -> GoogleVoicemailDetectionPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleVoicemailDetectionPlan
impl<'de> Deserialize<'de> for GoogleVoicemailDetectionPlan
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 GoogleVoicemailDetectionPlan
impl PartialEq for GoogleVoicemailDetectionPlan
Source§fn eq(&self, other: &GoogleVoicemailDetectionPlan) -> bool
fn eq(&self, other: &GoogleVoicemailDetectionPlan) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GoogleVoicemailDetectionPlan
Auto Trait Implementations§
impl Freeze for GoogleVoicemailDetectionPlan
impl RefUnwindSafe for GoogleVoicemailDetectionPlan
impl Send for GoogleVoicemailDetectionPlan
impl Sync for GoogleVoicemailDetectionPlan
impl Unpin for GoogleVoicemailDetectionPlan
impl UnwindSafe for GoogleVoicemailDetectionPlan
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