pub struct IvrStep {
pub triggers: Vec<String>,
pub action: IvrAction,
}Expand description
One step in an IVR Script: when any triggers substring appears in the
menu transcript, take action and advance.
Fields§
§triggers: Vec<String>Case-insensitive substrings; any one present in the prompt fires the step.
action: IvrActionWhat to do when this step’s prompt is reached.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IvrStep
impl RefUnwindSafe for IvrStep
impl Send for IvrStep
impl Sync for IvrStep
impl Unpin for IvrStep
impl UnsafeUnpin for IvrStep
impl UnwindSafe for IvrStep
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