pub struct SetIVRParams {
pub ivr: Option<String>,
pub name: Option<String>,
pub recording: Option<i64>,
pub timeout: Option<i64>,
pub language: Option<String>,
pub voicemailsetup: Option<i64>,
pub choices: Option<String>,
}Expand description
- Updates a specific IVR if an IVR code is provided. - Adds a new IVR entry if no IVR code is provided.
Parameters for Client::set_ivr (wire method setIVR).
Fields§
§ivr: Option<String>ID for a specific IVR (Example: 4636 / Leave empty to create a new one)
name: Option<String>Name for the IVR (required)
recording: Option<i64>Recording for the IVR (values from getRecordings) (required)
timeout: Option<i64>Maximum time for type in a choice after recording (required)
language: Option<String>Language for the IVR (values from getLanguages) (required)
voicemailsetup: Option<i64>Voicemail Setup for the IVR (values from getVoicemailSetups) (required)
choices: Option<String>Choices for the IVR (Example: ‘1=sip:5096 ; 2=fwd:20222’) (required)
Trait Implementations§
Source§impl Clone for SetIVRParams
impl Clone for SetIVRParams
Source§fn clone(&self) -> SetIVRParams
fn clone(&self) -> SetIVRParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetIVRParams
impl Debug for SetIVRParams
Source§impl Default for SetIVRParams
impl Default for SetIVRParams
Source§fn default() -> SetIVRParams
fn default() -> SetIVRParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetIVRParams
impl RefUnwindSafe for SetIVRParams
impl Send for SetIVRParams
impl Sync for SetIVRParams
impl Unpin for SetIVRParams
impl UnsafeUnpin for SetIVRParams
impl UnwindSafe for SetIVRParams
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