pub struct MonitorPlan {
pub listen_enabled: Option<bool>,
pub listen_authentication_enabled: Option<bool>,
pub control_enabled: Option<bool>,
pub control_authentication_enabled: Option<bool>,
}Fields§
§listen_enabled: Option<bool>This determines whether the assistant’s calls allow live listening. Defaults to true. Fetch call.monitor.listenUrl to get the live listening URL. @default true
listen_authentication_enabled: Option<bool>This enables authentication on the call.monitor.listenUrl. If listenAuthenticationEnabled is true, the call.monitor.listenUrl will require an Authorization: Bearer <vapi-public-api-key> header. @default false
control_enabled: Option<bool>This determines whether the assistant’s calls allow live control. Defaults to true. Fetch call.monitor.controlUrl to get the live control URL. To use, send any control message via a POST request to call.monitor.controlUrl. Here are the types of controls supported: https://docs.vapi.ai/api-reference/messages/client-inbound-message @default true
control_authentication_enabled: Option<bool>This enables authentication on the call.monitor.controlUrl. If controlAuthenticationEnabled is true, the call.monitor.controlUrl will require an Authorization: Bearer <vapi-public-api-key> header. @default false
Implementations§
Source§impl MonitorPlan
impl MonitorPlan
pub fn new() -> MonitorPlan
Trait Implementations§
Source§impl Clone for MonitorPlan
impl Clone for MonitorPlan
Source§fn clone(&self) -> MonitorPlan
fn clone(&self) -> MonitorPlan
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MonitorPlan
impl Debug for MonitorPlan
Source§impl Default for MonitorPlan
impl Default for MonitorPlan
Source§fn default() -> MonitorPlan
fn default() -> MonitorPlan
Source§impl<'de> Deserialize<'de> for MonitorPlan
impl<'de> Deserialize<'de> for MonitorPlan
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>,
Source§impl PartialEq for MonitorPlan
impl PartialEq for MonitorPlan
Source§fn eq(&self, other: &MonitorPlan) -> bool
fn eq(&self, other: &MonitorPlan) -> bool
self and other values to be equal, and is used by ==.