pub struct TargetPlan {
pub phone_number_id: Option<String>,
pub phone_number: Option<TestSuitePhoneNumber>,
pub assistant_id: Option<String>,
pub assistant_overrides: Option<AssistantOverrides>,
}
Fields§
§phone_number_id: Option<String>
This is the phone number that is being tested. During the actual test, it’ll be called and the assistant attached to it will pick up and be tested. To test an assistant directly, send assistantId instead.
phone_number: Option<TestSuitePhoneNumber>
This can be any phone number (even not on Vapi). During the actual test, it’ll be called. To test a Vapi number, send phoneNumberId. To test an assistant directly, send assistantId instead.
assistant_id: Option<String>
This is the assistant being tested. During the actual test, it’ll invoked directly. To test the assistant over phone number, send phoneNumberId instead.
assistant_overrides: Option<AssistantOverrides>
This is the assistant overrides applied to assistantId before it is tested.
Implementations§
Source§impl TargetPlan
impl TargetPlan
pub fn new() -> TargetPlan
Trait Implementations§
Source§impl Clone for TargetPlan
impl Clone for TargetPlan
Source§fn clone(&self) -> TargetPlan
fn clone(&self) -> TargetPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TargetPlan
impl Debug for TargetPlan
Source§impl Default for TargetPlan
impl Default for TargetPlan
Source§fn default() -> TargetPlan
fn default() -> TargetPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetPlan
impl<'de> Deserialize<'de> for TargetPlan
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 TargetPlan
impl PartialEq for TargetPlan
Source§impl Serialize for TargetPlan
impl Serialize for TargetPlan
impl StructuralPartialEq for TargetPlan
Auto Trait Implementations§
impl Freeze for TargetPlan
impl RefUnwindSafe for TargetPlan
impl Send for TargetPlan
impl Sync for TargetPlan
impl Unpin for TargetPlan
impl UnwindSafe for TargetPlan
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