pub struct SetCallbackParams {
pub callback: Option<String>,
pub description: Option<String>,
pub number: Option<i64>,
pub delay_before: Option<i64>,
pub response_timeout: Option<i64>,
pub digit_timeout: Option<i64>,
pub callerid_number: Option<String>,
}Expand description
- Updates a specific Callback if a callback code is provided. - Adds a new Callback entry if no callback code is provided.
Parameters for Client::set_callback (wire method setCallback).
Fields§
§callback: Option<String>ID for a specific Callback (Example: 2359 / Leave empty to create a new one)
description: Option<String>Description for the Callback (required)
number: Option<i64>Number that will be called back (required)
delay_before: Option<i64>Delay befor calling back (required)
response_timeout: Option<i64>Time before hanging up for incomplete input (required)
digit_timeout: Option<i64>Time between digits input (required)
callerid_number: Option<String>Caller ID Override for the callback
Trait Implementations§
Source§impl Clone for SetCallbackParams
impl Clone for SetCallbackParams
Source§fn clone(&self) -> SetCallbackParams
fn clone(&self) -> SetCallbackParams
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 SetCallbackParams
impl Debug for SetCallbackParams
Source§impl Default for SetCallbackParams
impl Default for SetCallbackParams
Source§fn default() -> SetCallbackParams
fn default() -> SetCallbackParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetCallbackParams
impl RefUnwindSafe for SetCallbackParams
impl Send for SetCallbackParams
impl Sync for SetCallbackParams
impl Unpin for SetCallbackParams
impl UnsafeUnpin for SetCallbackParams
impl UnwindSafe for SetCallbackParams
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