pub struct TransportConfigurationTwilio {
pub provider: Provider,
pub timeout: Option<f64>,
pub record: Option<bool>,
pub recording_channels: Option<RecordingChannels>,
}Fields§
§provider: Provider§timeout: Option<f64>The integer number of seconds that we should allow the phone to ring before assuming there is no answer. The default is 60 seconds and the maximum is 600 seconds. For some call flows, we will add a 5-second buffer to the timeout value you provide. For this reason, a timeout value of 10 seconds could result in an actual timeout closer to 15 seconds. You can set this to a short time, such as 15 seconds, to hang up before reaching an answering machine or voicemail. @default 60
record: Option<bool>Whether to record the call. Can be true to record the phone call, or false to not. The default is false. @default false
recording_channels: Option<RecordingChannels>The number of channels in the final recording. Can be: mono or dual. The default is mono. mono records both legs of the call in a single channel of the recording file. dual records each leg to a separate channel of the recording file. The first channel of a dual-channel recording contains the parent call and the second channel contains the child call. @default ‘mono’
Implementations§
Source§impl TransportConfigurationTwilio
impl TransportConfigurationTwilio
pub fn new(provider: Provider) -> TransportConfigurationTwilio
Trait Implementations§
Source§impl Clone for TransportConfigurationTwilio
impl Clone for TransportConfigurationTwilio
Source§fn clone(&self) -> TransportConfigurationTwilio
fn clone(&self) -> TransportConfigurationTwilio
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransportConfigurationTwilio
impl Debug for TransportConfigurationTwilio
Source§impl Default for TransportConfigurationTwilio
impl Default for TransportConfigurationTwilio
Source§fn default() -> TransportConfigurationTwilio
fn default() -> TransportConfigurationTwilio
Source§impl<'de> Deserialize<'de> for TransportConfigurationTwilio
impl<'de> Deserialize<'de> for TransportConfigurationTwilio
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>,
Source§impl PartialEq for TransportConfigurationTwilio
impl PartialEq for TransportConfigurationTwilio
Source§fn eq(&self, other: &TransportConfigurationTwilio) -> bool
fn eq(&self, other: &TransportConfigurationTwilio) -> bool
self and other values to be equal, and is used by ==.