pub struct TurnSteerResultNotification {
pub session_id: String,
pub turn_id: String,
pub receipt_id: String,
pub entry_id: String,
pub accepted: bool,
pub reason: Option<TurnSteerRejection>,
pub intent_id: String,
pub queue_depth: usize,
}Expand description
Terminal runtime acknowledgment for a turn/steer handoff. The addressed
queue row stays owned by the client until this notification arrives.
Fields§
§session_id: StringSession that owns the turn.
turn_id: StringTurn that was steered.
receipt_id: StringReceipt token echoed from TurnSteerResult.
entry_id: StringQueue entry the steer addressed, when any.
accepted: boolWhether the runtime admitted the steer. false leaves the row queued.
reason: Option<TurnSteerRejection>Rejection reason when accepted is false.
intent_id: StringStable identity of the admitted follow-up intent.
queue_depth: usizeQueue depth after the row was removed (accept) or left in place.
Trait Implementations§
Source§impl Clone for TurnSteerResultNotification
impl Clone for TurnSteerResultNotification
Source§impl Debug for TurnSteerResultNotification
impl Debug for TurnSteerResultNotification
Source§impl<'de> Deserialize<'de> for TurnSteerResultNotification
impl<'de> Deserialize<'de> for TurnSteerResultNotification
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
impl Eq for TurnSteerResultNotification
impl StructuralPartialEq for TurnSteerResultNotification
Auto Trait Implementations§
impl Forget for TurnSteerResultNotification
impl Freeze for TurnSteerResultNotification
impl Move for TurnSteerResultNotification
impl RefUnwindSafe for TurnSteerResultNotification
impl Send for TurnSteerResultNotification
impl Sync for TurnSteerResultNotification
impl Unpin for TurnSteerResultNotification
impl UnsafeUnpin for TurnSteerResultNotification
impl UnwindSafe for TurnSteerResultNotification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.