DialConference

Struct DialConference 

Source
pub struct DialConference {
Show 24 fields pub name: String, pub muted: Option<bool>, pub beep: Option<String>, pub start_conference_on_enter: Option<bool>, pub end_conference_on_exit: Option<bool>, pub wait_url: Option<String>, pub wait_method: Option<String>, pub max_participants: Option<u32>, pub record: Option<String>, pub region: Option<String>, pub coach: Option<String>, pub trim: Option<String>, pub status_callback_event: Option<Vec<String>>, pub status_callback: Option<String>, pub status_callback_method: Option<String>, pub recording_status_callback: Option<String>, pub recording_status_callback_method: Option<String>, pub recording_status_callback_event: Option<Vec<String>>, pub event_callback_url: Option<String>, pub jitter_buffer_size: Option<String>, pub participant_label: Option<String>, pub call_sid_to_coach: Option<String>, pub beep_on_customer_entrance: Option<bool>, pub coaching: Option<bool>,
}

Fields§

§name: String§muted: Option<bool>§beep: Option<String>§start_conference_on_enter: Option<bool>§end_conference_on_exit: Option<bool>§wait_url: Option<String>§wait_method: Option<String>§max_participants: Option<u32>§record: Option<String>§region: Option<String>§coach: Option<String>§trim: Option<String>§status_callback_event: Option<Vec<String>>§status_callback: Option<String>§status_callback_method: Option<String>§recording_status_callback: Option<String>§recording_status_callback_method: Option<String>§recording_status_callback_event: Option<Vec<String>>§event_callback_url: Option<String>§jitter_buffer_size: Option<String>§participant_label: Option<String>§call_sid_to_coach: Option<String>§beep_on_customer_entrance: Option<bool>§coaching: Option<bool>

Implementations§

Source§

impl DialConference

Source

pub fn new(name: impl Into<String>) -> Self

Source

pub fn muted(self, muted: bool) -> Self

Source

pub fn beep(self, beep: impl Into<String>) -> Self

Source

pub fn start_conference_on_enter(self, start: bool) -> Self

Source

pub fn end_conference_on_exit(self, end: bool) -> Self

Source

pub fn max_participants(self, max: u32) -> Self

Source

pub fn record(self, record: impl Into<String>) -> Self

Source

pub fn wait_url(self, url: impl Into<String>) -> Self

Source

pub fn wait_method(self, method: impl Into<String>) -> Self

Source

pub fn region(self, region: impl Into<String>) -> Self

Source

pub fn coach(self, coach: impl Into<String>) -> Self

Source

pub fn trim(self, trim: impl Into<String>) -> Self

Source

pub fn status_callback_event(self, events: Vec<String>) -> Self

Source

pub fn status_callback(self, callback: impl Into<String>) -> Self

Source

pub fn status_callback_method(self, method: impl Into<String>) -> Self

Source

pub fn recording_status_callback(self, callback: impl Into<String>) -> Self

Source

pub fn recording_status_callback_method(self, method: impl Into<String>) -> Self

Source

pub fn recording_status_callback_event(self, events: Vec<String>) -> Self

Source

pub fn event_callback_url(self, url: impl Into<String>) -> Self

Source

pub fn jitter_buffer_size(self, size: impl Into<String>) -> Self

Source

pub fn participant_label(self, label: impl Into<String>) -> Self

Source

pub fn call_sid_to_coach(self, call_sid: impl Into<String>) -> Self

Source

pub fn beep_on_customer_entrance(self, beep: bool) -> Self

Source

pub fn coaching(self, coaching: bool) -> Self

Trait Implementations§

Source§

impl Clone for DialConference

Source§

fn clone(&self) -> DialConference

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DialConference

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.