pub enum StepDetail {
Spoke,
Hours {
open: bool,
},
MenuChoice {
digit: String,
},
MenuNoInput,
MenuInvalid,
Ring {
answered: bool,
},
MessageRecorded {
secs: u32,
},
Transferred {
target: String,
},
HungUp,
}Expand description
The per-node outcome. Tagged so it serializes to a self-describing object the renderer can switch on.
Variants§
Spoke
A greeting/say_hours spoke and continued.
Hours
An hours branch resolved.
MenuChoice
A menu caller pressed a mapped option.
MenuNoInput
A menu exhausted its retries with no input at all.
MenuInvalid
A menu exhausted its retries hearing only unmapped keys.
Ring
A ring finished — answered means the human took the call.
MessageRecorded
A voicemail was recorded (seconds captured).
Transferred
A blind transfer was placed.
HungUp
The flow spoke an optional goodbye and hung up.
Trait Implementations§
Source§impl Clone for StepDetail
impl Clone for StepDetail
Source§fn clone(&self) -> StepDetail
fn clone(&self) -> StepDetail
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 StepDetail
impl Debug for StepDetail
Source§impl PartialEq for StepDetail
impl PartialEq for StepDetail
Source§impl Serialize for StepDetail
impl Serialize for StepDetail
impl StructuralPartialEq for StepDetail
Auto Trait Implementations§
impl Freeze for StepDetail
impl RefUnwindSafe for StepDetail
impl Send for StepDetail
impl Sync for StepDetail
impl Unpin for StepDetail
impl UnsafeUnpin for StepDetail
impl UnwindSafe for StepDetail
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