pub struct ConnectTwilioCallOptions {
pub agents: Option<Vec<RoomAgentDispatch>>,
pub participant_identity: Option<String>,
pub participant_name: Option<String>,
pub participant_metadata: Option<String>,
pub participant_attributes: Option<HashMap<String, String>>,
pub destination_country: Option<String>,
}Expand description
Options for connecting a Twilio call
Fields§
§agents: Option<Vec<RoomAgentDispatch>>Optional - Agents to dispatch the call to
participant_identity: Option<String>Optional - Identity of the participant in LiveKit room
participant_name: Option<String>Optional - Name of the participant in LiveKit room
participant_metadata: Option<String>Optional - User-defined metadata attached to the participant in the room
participant_attributes: Option<HashMap<String, String>>Optional - User-defined attributes attached to the participant in the room
destination_country: Option<String>Optional - Country where the call terminates as ISO 3166-1 alpha-2
Trait Implementations§
Source§impl Clone for ConnectTwilioCallOptions
impl Clone for ConnectTwilioCallOptions
Source§fn clone(&self) -> ConnectTwilioCallOptions
fn clone(&self) -> ConnectTwilioCallOptions
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 ConnectTwilioCallOptions
impl Debug for ConnectTwilioCallOptions
Source§impl Default for ConnectTwilioCallOptions
impl Default for ConnectTwilioCallOptions
Source§fn default() -> ConnectTwilioCallOptions
fn default() -> ConnectTwilioCallOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectTwilioCallOptions
impl RefUnwindSafe for ConnectTwilioCallOptions
impl Send for ConnectTwilioCallOptions
impl Sync for ConnectTwilioCallOptions
impl Unpin for ConnectTwilioCallOptions
impl UnwindSafe for ConnectTwilioCallOptions
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