pub struct SetDISAParams {
pub disa: Option<String>,
pub name: Option<String>,
pub pin: Option<i64>,
pub digit_timeout: Option<i64>,
pub callerid_override: Option<String>,
pub language: Option<String>,
}Expand description
- Updates a specific DISA if a disa code is provided. - Adds a new DISA entry if no disa code is provided.
Parameters for Client::set_disa (wire method setDISA).
Fields§
§disa: Option<String>ID for a specific DISA (Example: 2114 / Leave empty to create a new one)
name: Option<String>Name for the DISA (required)
pin: Option<i64>Password for the DISA (required)
digit_timeout: Option<i64>Time between digits (required)
callerid_override: Option<String>Caller ID Override for the DISA
language: Option<String>Language for the DISA (en, fr, es)
Trait Implementations§
Source§impl Clone for SetDISAParams
impl Clone for SetDISAParams
Source§fn clone(&self) -> SetDISAParams
fn clone(&self) -> SetDISAParams
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 SetDISAParams
impl Debug for SetDISAParams
Source§impl Default for SetDISAParams
impl Default for SetDISAParams
Source§fn default() -> SetDISAParams
fn default() -> SetDISAParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetDISAParams
impl RefUnwindSafe for SetDISAParams
impl Send for SetDISAParams
impl Sync for SetDISAParams
impl Unpin for SetDISAParams
impl UnsafeUnpin for SetDISAParams
impl UnwindSafe for SetDISAParams
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