pub struct OpenAiVoicemailDetectionPlan {
pub provider: Provider,
pub voicemail_expected_duration_seconds: f64,
}Fields§
§provider: ProviderThis is the provider to use for voicemail detection.
voicemail_expected_duration_seconds: f64This is how long should we listen in order to determine if we were sent to voicemail or not? @default 15
Implementations§
Source§impl OpenAiVoicemailDetectionPlan
impl OpenAiVoicemailDetectionPlan
pub fn new( provider: Provider, voicemail_expected_duration_seconds: f64, ) -> OpenAiVoicemailDetectionPlan
Trait Implementations§
Source§impl Clone for OpenAiVoicemailDetectionPlan
impl Clone for OpenAiVoicemailDetectionPlan
Source§fn clone(&self) -> OpenAiVoicemailDetectionPlan
fn clone(&self) -> OpenAiVoicemailDetectionPlan
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenAiVoicemailDetectionPlan
impl Debug for OpenAiVoicemailDetectionPlan
Source§impl Default for OpenAiVoicemailDetectionPlan
impl Default for OpenAiVoicemailDetectionPlan
Source§fn default() -> OpenAiVoicemailDetectionPlan
fn default() -> OpenAiVoicemailDetectionPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenAiVoicemailDetectionPlan
impl<'de> Deserialize<'de> for OpenAiVoicemailDetectionPlan
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 OpenAiVoicemailDetectionPlan
impl PartialEq for OpenAiVoicemailDetectionPlan
Source§fn eq(&self, other: &OpenAiVoicemailDetectionPlan) -> bool
fn eq(&self, other: &OpenAiVoicemailDetectionPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenAiVoicemailDetectionPlan
Auto Trait Implementations§
impl Freeze for OpenAiVoicemailDetectionPlan
impl RefUnwindSafe for OpenAiVoicemailDetectionPlan
impl Send for OpenAiVoicemailDetectionPlan
impl Sync for OpenAiVoicemailDetectionPlan
impl Unpin for OpenAiVoicemailDetectionPlan
impl UnwindSafe for OpenAiVoicemailDetectionPlan
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