pub struct AcceptWhatsAppCallOptions {
pub biz_opaque_callback_data: Option<String>,
pub room_name: Option<String>,
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 accepting a WhatsApp call
Fields§
§biz_opaque_callback_data: Option<String>Optional - An arbitrary string useful for tracking and logging purposes
room_name: Option<String>Optional - What LiveKit room should this participant be connected to
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 AcceptWhatsAppCallOptions
impl Clone for AcceptWhatsAppCallOptions
Source§fn clone(&self) -> AcceptWhatsAppCallOptions
fn clone(&self) -> AcceptWhatsAppCallOptions
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 AcceptWhatsAppCallOptions
impl Debug for AcceptWhatsAppCallOptions
Source§impl Default for AcceptWhatsAppCallOptions
impl Default for AcceptWhatsAppCallOptions
Source§fn default() -> AcceptWhatsAppCallOptions
fn default() -> AcceptWhatsAppCallOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AcceptWhatsAppCallOptions
impl RefUnwindSafe for AcceptWhatsAppCallOptions
impl Send for AcceptWhatsAppCallOptions
impl Sync for AcceptWhatsAppCallOptions
impl Unpin for AcceptWhatsAppCallOptions
impl UnwindSafe for AcceptWhatsAppCallOptions
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