pub struct GeneralDispatchAgentParams {
pub agent_id: Option<String>,
pub meeting_id: Option<String>,
pub room_id: Option<String>,
pub room_options: Option<AgentRoomOptions>,
pub sip_options: Option<Map<String, Value>>,
pub metadata: Option<Map<String, Value>>,
pub version_id: Option<String>,
}Expand description
The parameters for AgentsResource::general_dispatch, a managed or
low-code dispatch. Unlike the others, this ignores version_tag and wait.
Fields§
§agent_id: Option<String>The deployed agent to dispatch.
meeting_id: Option<String>The room to join. One of meeting_id or room_id is required.
room_id: Option<String>An alias of meeting_id.
room_options: Option<AgentRoomOptions>Per-dispatch room behavior.
sip_options: Option<Map<String, Value>>When present, also places an outbound SIP call.
metadata: Option<Map<String, Value>>Free-form metadata handed to the agent.
version_id: Option<String>The deployment version. Required.
Trait Implementations§
Source§impl Clone for GeneralDispatchAgentParams
impl Clone for GeneralDispatchAgentParams
Source§fn clone(&self) -> GeneralDispatchAgentParams
fn clone(&self) -> GeneralDispatchAgentParams
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 GeneralDispatchAgentParams
impl Debug for GeneralDispatchAgentParams
Source§impl Default for GeneralDispatchAgentParams
impl Default for GeneralDispatchAgentParams
Source§fn default() -> GeneralDispatchAgentParams
fn default() -> GeneralDispatchAgentParams
Returns the “default value” for a type. Read more
Source§impl From<GeneralDispatchAgentParams> for DispatchAgentParams
impl From<GeneralDispatchAgentParams> for DispatchAgentParams
Source§fn from(params: GeneralDispatchAgentParams) -> Self
fn from(params: GeneralDispatchAgentParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GeneralDispatchAgentParams
impl RefUnwindSafe for GeneralDispatchAgentParams
impl Send for GeneralDispatchAgentParams
impl Sync for GeneralDispatchAgentParams
impl Unpin for GeneralDispatchAgentParams
impl UnsafeUnpin for GeneralDispatchAgentParams
impl UnwindSafe for GeneralDispatchAgentParams
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