pub struct GoogleVoicemailDetectionPlan {
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 GoogleVoicemailDetectionPlan
impl GoogleVoicemailDetectionPlan
pub fn new( provider: Provider, voicemail_expected_duration_seconds: f64, ) -> GoogleVoicemailDetectionPlan
Trait Implementations§
Source§impl Clone for GoogleVoicemailDetectionPlan
impl Clone for GoogleVoicemailDetectionPlan
Source§fn clone(&self) -> GoogleVoicemailDetectionPlan
fn clone(&self) -> GoogleVoicemailDetectionPlan
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 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