pub struct DialVoiceWebCallRequest {
pub to: String,
pub credential_id: String,
pub from_number: Option<String>,
pub record_override: Option<bool>,
}Fields§
§to: StringThe number to call, E.164 with leading +.
credential_id: StringThe WebRTC credential id returned by POST /v1/voice/calls/web (the registered browser).
from_number: Option<String>Which of your voice-enabled numbers to call from (optional when you have one).
record_override: Option<bool>Implementations§
Source§impl DialVoiceWebCallRequest
impl DialVoiceWebCallRequest
pub fn new(to: String, credential_id: String) -> DialVoiceWebCallRequest
Trait Implementations§
Source§impl Clone for DialVoiceWebCallRequest
impl Clone for DialVoiceWebCallRequest
Source§fn clone(&self) -> DialVoiceWebCallRequest
fn clone(&self) -> DialVoiceWebCallRequest
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 DialVoiceWebCallRequest
impl Debug for DialVoiceWebCallRequest
Source§impl Default for DialVoiceWebCallRequest
impl Default for DialVoiceWebCallRequest
Source§fn default() -> DialVoiceWebCallRequest
fn default() -> DialVoiceWebCallRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DialVoiceWebCallRequest
impl<'de> Deserialize<'de> for DialVoiceWebCallRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DialVoiceWebCallRequest
impl PartialEq for DialVoiceWebCallRequest
Source§fn eq(&self, other: &DialVoiceWebCallRequest) -> bool
fn eq(&self, other: &DialVoiceWebCallRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DialVoiceWebCallRequest
impl Serialize for DialVoiceWebCallRequest
impl StructuralPartialEq for DialVoiceWebCallRequest
Auto Trait Implementations§
impl Freeze for DialVoiceWebCallRequest
impl RefUnwindSafe for DialVoiceWebCallRequest
impl Send for DialVoiceWebCallRequest
impl Sync for DialVoiceWebCallRequest
impl Unpin for DialVoiceWebCallRequest
impl UnsafeUnpin for DialVoiceWebCallRequest
impl UnwindSafe for DialVoiceWebCallRequest
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