pub struct DialOptions {
pub caller_id: Option<String>,
pub timeout_ms: Option<u64>,
pub variables: Option<HashMap<String, String>>,
}Expand description
options for originating a call
Fields§
§caller_id: Option<String>caller ID to present
timeout_ms: Option<u64>maximum time to wait for answer in milliseconds
variables: Option<HashMap<String, String>>channel variables to set
Implementations§
Trait Implementations§
Source§impl Clone for DialOptions
impl Clone for DialOptions
Source§fn clone(&self) -> DialOptions
fn clone(&self) -> DialOptions
Returns a duplicate 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 DialOptions
impl Debug for DialOptions
Source§impl Default for DialOptions
impl Default for DialOptions
Source§fn default() -> DialOptions
fn default() -> DialOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DialOptions
impl RefUnwindSafe for DialOptions
impl Send for DialOptions
impl Sync for DialOptions
impl Unpin for DialOptions
impl UnsafeUnpin for DialOptions
impl UnwindSafe for DialOptions
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