pub struct MonitorPlan {
pub listen_enabled: Option<bool>,
pub control_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
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
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
Returns a copy 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 MonitorPlan
impl Debug for MonitorPlan
Source§impl Default for MonitorPlan
impl Default for MonitorPlan
Source§fn default() -> MonitorPlan
fn default() -> MonitorPlan
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MonitorPlan
impl PartialEq for MonitorPlan
Source§impl Serialize for MonitorPlan
impl Serialize for MonitorPlan
impl StructuralPartialEq for MonitorPlan
Auto Trait Implementations§
impl Freeze for MonitorPlan
impl RefUnwindSafe for MonitorPlan
impl Send for MonitorPlan
impl Sync for MonitorPlan
impl Unpin for MonitorPlan
impl UnwindSafe for MonitorPlan
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